fastParse method
Parses input data passively, with minimal consumption of system resources during parsing.
Returns true
if parsing was successful; otherwise returns false
.
if(!fastParse(state)) {
state.fail(err, state.pos);
}
Implementation
@override
bool fastParse(ParseState state) {
final pos = state.pos;
if (p.fastParse(state)) {
ws.fastParse(state);
return true;
}
state.fail(_err, pos);
state.pos = pos;
return false;
}