Farkle


AssociativityType Type

An associativity group's type. It determines the course of action in case of Shift-Reduce conflicts between symbols with the same precedence.

Union cases

Union case Description

LeftAssociative

Full Usage: LeftAssociative

The group's symbols are left-associative. Shift-Reduce conflicts will be resolved in favor of Reduce.

NonAssociative

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.

PrecedenceOnly

Full Usage: PrecedenceOnly

Thr group's symbols have no associativity; only precedence. Shift-Reduce conflicts will not be resolved and will fail the build.

RightAssociative

Full Usage: RightAssociative

The group's symbols are right-associative. Shift-Reduce conflicts will be resolved in favor of Shift.