Crate pkl_parser

Source

Structs§

Error
Parse-related error type.
Pair
A matching pair of Tokens and everything between them.
Pairs
An iterator over Pairs. It is created by pest::state and Pair::into_inner.
PklParser
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§

Rule

Functions§

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