SequenceParserExtension extension

on

Methods

seq(Parser other) Parser<List>
Returns a parser that accepts the receiver followed by other. The resulting parser returns a list of the parse result of the receiver followed by the parse result of other. Calling this method on an existing sequence code does not nest this sequence into a new one, but instead augments the existing sequence with other.

Operators

operator &(Parser other) Parser<List>
Convenience operator returning a parser that accepts the receiver followed by other. See seq for details.