Function chumsky::pratt::left

source ·
pub fn left(binding_power: u16) -> Associativity
Available on crate feature pratt only.
Expand description

Specifies a left Associativity with the given binding power.

Left-associative operators are evaluated from the left-most terms, moving rightward. For example, the expression a + b + c + d will be evaluated as ((a + b) + c) + d because addition is conventionally left-associative.