Farkle


LALRConflict Type

An LALR conflict. It arises when the parser can take different actions when encountering a `Terminal` or the end.

Record fields

Record Field Description

Reason

Full Usage: Reason

Field type: LALRConflictReason

The reason Farkle could not resolve the conflict.

Field type: LALRConflictReason

StateIndex

Full Usage: StateIndex

Field type: uint32

The index of the `LALRState` the conflict is taking place.

Field type: uint32

Symbol

Full Usage: Symbol

Field type: Terminal option

The symbol upon whose encounter, the conflict happens. `None` means the conflict happens when the parser reaches the end of input.

Field type: Terminal option

Type

Full Usage: Type

Field type: LALRConflictType

The type of the conflict.

Field type: LALRConflictType