Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected matcher

matcher: MatchingLogic

matches

matches: PatternMatch[] = []

Protected observer

observer: MatchingLogic

Private stopAfterMatch

stopAfterMatch: function

Type declaration

Methods

consume

  • Stream-oriented matching. The observer can match in parallel with the main matcher.

    Parameters

    • input: string | InputStream
    • Default value parseContext: object = {}

      context for the whole parsing operation

    • Optional l: Listeners

      listeners observing input characters as they are read

    Returns void

Protected observeMatch

Protected onMatch

Generated using TypeDoc