quantityLexer top-level property

Parser<QuantityParser> quantityLexer
final

Implementation

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