decimalLexer top-level property

Parser<DecimalParser> decimalLexer
final

Implementation

final Parser<DecimalParser> decimalLexer =
    (digit().plus() & char('.') & digit().plus())
        .flatten()
        .map((value) => DecimalParser(value));