parse static method

TomlKey parse(
  1. String input
)

Parses the given TOML key.

Throws a ParserException if there is a syntax error.

Implementation

static TomlKey parse(String input) =>
    parser.trim(tomlWhitespaceChar).end().parse(input).valueOrTomlException;