booleanLexer top-level property
Finds strings 'true' or 'false' (without quotes)
Implementation
final Parser<BooleanParser> booleanLexer = (string('true') | string('false'))
.flatten()
.map((value) => BooleanParser(value));
Finds strings 'true' or 'false' (without quotes)
final Parser<BooleanParser> booleanLexer = (string('true') | string('false'))
.flatten()
.map((value) => BooleanParser(value));