Farkle


LALRConflictType Type

The type of an LALR conflict.

Union cases

Union case Description

ReduceReduce(Production1, Production2)

Full Usage: ReduceReduce(Production1, Production2)

Parameters:

A Reduce-Reduce conflict

Production1 : Production
Production2 : Production

ShiftReduce(StateToShiftTo, ProductionToReduce)

Full Usage: ShiftReduce(StateToShiftTo, ProductionToReduce)

Parameters:
    StateToShiftTo : uint32
    ProductionToReduce : Production

A Shift-Reduce conflict

StateToShiftTo : uint32
ProductionToReduce : Production

Static members

Static member Description

LALRConflictType.Create(act1) (act2)

Full Usage: LALRConflictType.Create(act1) (act2)

Parameters:
Returns: LALRConflictType

Creates an `LALRConflictType` from the given conflicting `LALRAction`s. An exception is raised if the actions are neither both "reduce" nor a "shift" and a "reduce".

act1 : LALRAction
act2 : LALRAction
Returns: LALRConflictType