Make a parser that runs a given parser and then a dynamically returned parser.
A nonmatch is returned if any of two parsers did not match.
Compared to condition this can have any complex logic inside.
chain allows to reuse the first parser.
A parser that returns another parser as a value. If it consumes the input then the returned parser will be called with the new position.
Generated using TypeDoc
Make a parser that runs a given parser and then a dynamically returned parser.
A nonmatch is returned if any of two parsers did not match.
Compared to condition this can have any complex logic inside.
chain allows to reuse the first parser.