Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Initial State Identifier INITIAL = "INITIAL" // Final State Identifier FINAL = "FINAL" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State interface { GetIdentifier() interface{} IsInitial() bool IsFinal() bool Equal(s State) bool }
State interface
func NewFinalState ¶
func NewFinalState() State
NewFinalState() Create a new State with FINAL Identifier
func NewInitialState ¶
func NewInitialState() State
NewInitialState() Create a new State with INITIAL Identifier
Click to show internal directories.
Click to hide internal directories.