Rest
...ps: Matcher<TToken, TOptions, unknown>[]Parsers to run sequentially.
Make a parser that runs all given parsers in sequence and discards (skips) all results (Returns a match with a dummy value).
Nonmatch is returned if any of parsers didn't match.
Implementation is based on all and map.
This function only exists to make the intent clear.
Use in combination with left, right or other combinators
to make the null
result disappear.
Rest
...ps: Parser<TToken, TOptions, unknown>[]Parsers to run sequentially.
Generated using TypeDoc
This overload makes a Matcher that runs all given matchers in sequence and discards (skips) all results (Returns a match with a dummy value).
Implementation is based on all and map.
This function only exists to make the intent clear. Use in combination with left, right or other combinators to make the
null
result disappear.