parser property

Parser<TomlSimpleKey> parser
final

Parser for a simple TOML key.

Implementation

static final Parser<TomlSimpleKey> parser = ChoiceParser<TomlSimpleKey>([
  TomlQuotedKey.parser,
  TomlUnquotedKey.parser,
], failureJoiner: selectFarthestJoined)
    .orFailure('key expected');