Farkle


LALRConflictResolver Type

An object that resolves LALR conflicts. By default its virtual methods fail to perform any resolution.

Constructors

Constructor Description

LALRConflictResolver()

Full Usage: LALRConflictResolver()

Returns: LALRConflictResolver
Returns: LALRConflictResolver

Instance members

Instance member Description

this.ResolveReduceReduceConflict

Full Usage: this.ResolveReduceReduceConflict

Parameters:
Returns: ConflictResolutionDecision
Modifiers: abstract

Tries to resolve a Reduce-Reduce conflict.

production1 : Production
production2 : Production
Returns: ConflictResolutionDecision

this.ResolveShiftReduceConflict

Full Usage: this.ResolveShiftReduceConflict

Parameters:
Returns: ConflictResolutionDecision
Modifiers: abstract

Tries to resolve a Shift-Reduce conflict.

shiftTerminal : Terminal
reduceProduction : Production
Returns: ConflictResolutionDecision

Static members

Static member Description

LALRConflictResolver.Default

Full Usage: LALRConflictResolver.Default

Returns: LALRConflictResolver

A default resolver that always fails.

Returns: LALRConflictResolver