Module parser

Module parser 

Source
Expand description

Parsing functionality for converting tokens to kind trees.

Structs§

OperatorInfo
Operator information containing precedence and associativity.
ParserState
Generic parsing state that encapsulates cursor for token stream and error aggregation.
PrattParser
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§

ParseOutput
Output type for parsing operations, containing either a green kind tree or errors.
Precedence
Operator precedence