Crate pkl_parser
source ·Structs§
- Parse-related error type.
- A matching pair of
Token
s and everything between them. PklParser
is a parser generated from thepkl.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 aPairs
iterator over the parsed tokens. - Constructs a
PrattParser
for parsing and evaluating expressions with operator precedence and associativity.