Return a match if it explains the whole of the input. This style of usage is more like a traditional parser, building an AST for a whole file.
context for the whole parsing operation
listeners observing input characters as they are read
Convenience method to find matches. Note that this will parse the entire input in one pass. Use matchIterator if you are likely to try to stop part-way through, or want to be kinder to the event loop.
context for the whole parsing operation
listeners observing input characters as they are read
Convenient method to find the first match, or null if not found. Stops searching after the first match.
listeners observing input characters as they are read
Generator for matching the given input.
Return a match (or failure to match) with all structural information including matches that succeeded, and matches that failed
context for the whole parsing operation
listeners observing input characters as they are read
MatchReport
Generated using TypeDoc
Central interface for microgrammar usage. Represents a microgrammar that we can use to match input in a string or stream.