AndParser class
The AndParser parser is a silent positive lookahead parser. It invokes p and succeeds only if p succeeds.
The AndParser parser will store the parsing state before invoking p and will restore the state when p finishes parsing, this will remove all error messages generated by the p parser.
Returns null
.
final p = and(str('for'));
- Inheritance
- Available Extensions
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? -
Parses input data actively and produces the result.
override
-
parseMany(
ParseState state) → Tuple1< List> ? -
inherited
-
parseMany1(
ParseState state) → Tuple1< List> ? -
inherited
-
parseSepBy(
ParseState state, Parser sep) → Tuple1< List> ? -
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