Tuple2Parser<E1, E2> class
The Tuple2Parser parser invokes sequentially p1 and p2 and parses successfully if all parsers succeed.
Returns Tuple2 of parsing result of all parsers.
final p = tuple2(p1, p2);
- Inheritance
- Available Extensions
Constructors
-
Tuple2Parser(Parser<
E1> p1, Parser<E2> p2)
Properties
Methods
-
fastParse(
ParseState state) → bool -
Parses input data passively, with minimal consumption of system resources
during parsing.
override
-
fastParseMany(
ParseState state) → bool -
inherited
-
fastParseMany1(
ParseState state) → bool -
inherited
-
fastParseSepBy(
ParseState state, Parser sep) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
ParseState state) → Tuple1< Tuple2< ?E1, E2> > -
Parses input data actively and produces the result.
override
-
parseMany(
ParseState state) → Tuple1< List< ?Tuple2< >E1, E2> > -
inherited
-
parseMany1(
ParseState state) → Tuple1< List< ?Tuple2< >E1, E2> > -
inherited
-
parseSepBy(
ParseState state, Parser sep) → Tuple1< List< ?Tuple2< >E1, E2> > -
inherited
-
parseSkipMany(
ParseState state) → Tuple1? -
inherited
-
parseSkipMany1(
ParseState state) → Tuple1? -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited