Table of Contents

Struct LrState

Namespace
Farkle.Grammars.StateMachines
Assembly
Farkle.dll

Represents a state of an LrStateMachine.

public readonly struct LrState
Inherited Members

Properties

Actions

The terminals the LrState accepts, along with their respective LrAction.

public LrState.ActionCollection Actions { get; }

Property Value

LrState.ActionCollection

EndOfFileActions

The possible actions when the end of input is reached at the LrState.

public LrState.EndOfFileActionCollection EndOfFileActions { get; }

Property Value

LrState.EndOfFileActionCollection

Gotos

The GOTO transitions of the LrState.

public LrState.GotoCollection Gotos { get; }

Property Value

LrState.GotoCollection

HasConflicts

Whether the LrState has more than one possible action for a terminal or the end of input.

public bool HasConflicts { get; }

Property Value

bool
See Also

StateIndex

The index of the LrState, starting from 0.

public int StateIndex { get; }

Property Value

int