quantityLexer top-level property
Implementation
final Parser<QuantityParser> quantityLexer =
(numberLexer & char(' ') & (durationLexer | stringLexer))
.flatten()
.map((value) => QuantityParser(value));
final Parser<QuantityParser> quantityLexer =
(numberLexer & char(' ') & (durationLexer | stringLexer))
.flatten()
.map((value) => QuantityParser(value));