Skip to main content

Module expr

Module expr 

Source

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 for loop expression