Crate pkl_parser

source ·

Structs§

  • Parse-related error type.
  • A matching pair of Tokens and everything between them.
  • An iterator over Pairs. It is created by pest::state and Pair::into_inner.
  • PklParser is a parser generated from the pkl.pest grammar file. This struct is used to parse input strings according to the rules defined in the grammar.

Enums§

Functions§

  • Parses the given source string using the PklParser and returns a Pairs iterator over the parsed tokens.
  • Constructs a PrattParser for parsing and evaluating expressions with operator precedence and associativity.