parser property

Parser<TomlInteger> parser
final

Parser for a TOML integer value.

Decimal integers have to be parsed last such that the zero in the prefixes of non-decimal numbers is not consumed by the decParser.

Implementation

static final Parser<TomlInteger> parser = ChoiceParser(
  [binParser, octParser, hexParser, decParser],
  failureJoiner: selectFarthest,
);