First matcher.
Second matcher.
A function to combine values from both matchers.
A value matched by the first matcher.
A value matched by the second matcher.
Data object (tokens and options).
Parser position in the tokens array (before both matchers matched).
Parser position in the tokens array (after both matchers matched).
Make a parser that tries two parsers one after another and joins the results.
A nonmatch is returned if any of two parsers did not match.
Use abc if you want to join 3 different parsers.
Use left or right if you want to keep one result and discard another.
Use all if you want a sequence of parsers of arbitrary length (but they have to share a common value type).
First parser.
Second parser.
A function to combine matched values from both parsers.
A value matched by the first parser.
A value matched by the second parser.
Data object (tokens and options).
Parser position in the tokens array (before both parsers matched).
Parser position in the tokens array (after both parsers matched).
Generated using TypeDoc
This overload makes a Matcher that applies two matchers one after another and joins the results.
Use abc if you want to join 3 different parsers/matchers.
Use left or right if you want to keep one result and discard another.
Use all if you want a sequence of parsers of arbitrary length (but they have to share a common value type).