Expand description
Parsing functionality for converting tokens to kind trees.
Structs§
- Operator
Info - Operator information containing precedence and associativity.
- Parser
State - Generic parsing state that encapsulates cursor for token stream and error aggregation.
- Pratt
Parser - Pratt parser: supports prefix/infix/postfix (postfix left for language layer special handling)
Enums§
- Associativity
- Operator associativity defines how operators of the same precedence are grouped.
Traits§
- Parser
- Parser trait for converting tokens into kind trees.
Type Aliases§
- Parse
Output - Output type for parsing operations, containing either a green kind tree or errors.
- Precedence
- Operator precedence