Expand description
Conlang’s Expression parser.
Enums§
- Prec
- Organizes the precedence hierarchy for syntactic elements
- Ps
PseudoOperator: fake operators used to give certain tokens special behavior.
Functions§
- from_
bind 🔒 - Returns the [BindOp], pattern precedence, arrow TKind, body precedence, and else precedence, (if applicable,) which controls the parsing of Bind expressions.
- from_
infix 🔒 - Tries to map the incoming [Token] to an infix expression operator and its precedence level
- from_
prefix 🔒 - Tries to map the incoming [Token] to a prefix expression operator and its precedence level
- parse_
array 🔒 - Parses an array with 0 or more elements, or an array-repetition
- parse_
for 🔒 - Parses a
forloop expression