An associativity group's type. It determines the course of action in case of Shift-Reduce conflicts between symbols with the same precedence.
Union case | Description |
Full Usage:
LeftAssociative
|
The group's symbols are left-associative. Shift-Reduce conflicts will be resolved in favor of Reduce. |
Full Usage:
NonAssociative
|
The group's symbols are non-associative. Shift-Reduce conflicts will be resolved in favor of neither, failing with a syntax error at parse time. |
Full Usage:
PrecedenceOnly
|
Thr group's symbols have no associativity; only precedence. Shift-Reduce conflicts will not be resolved and will fail the build. |
Full Usage:
RightAssociative
|
The group's symbols are right-associative. Shift-Reduce conflicts will be resolved in favor of Shift. |