Enum AssociativityType
- Namespace
- Farkle.Builder.OperatorPrecedence
- Assembly
- Farkle.dll
Represents the possible kinds of associativity of an AssociativityGroup.
public enum AssociativityType
Fields
LeftAssociative = 1
The group's symbols are left-associative.
Shift-Reduce conflicts will be resolved in favor of Reduce.
NonAssociative = 0
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.
PrecedenceOnly = 3
The group's symbols have no associativity; only precedence.
Shift-Reduce conflicts will not be resolved and will fail the build.
RightAssociative = 2
The group's symbols are right-associative.
Shift-Reduce conflicts will be resolved in favor of Shift.