SequenceParserExtension extension
- on
Methods
-
seq(
Parser other) → Parser< List> -
Available on Parser, provided by the SequenceParserExtension extension
Returns a parser that accepts the receiver followed byother
. The resulting parser returns a list of the parse result of the receiver followed by the parse result ofother
. Calling this method on an existing sequence code does not nest this sequence into a new one, but instead augments the existing sequence withother
.
Operators
-
operator &(
Parser other) → Parser< List> -
Available on Parser, provided by the SequenceParserExtension extension
Convenience operator returning a parser that accepts the receiver followed byother
. See seq for details.