public class AutomatonState extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ACCEPT
Could be used to provide a single accept state, using transitions on a special terminal from
all other accept states.
|
List<AutomatonState> |
epsilonTransitions
A list of the states that can be reached from this state without consuming a terminal.
|
String |
label |
static int |
REJECT
Signals that no transition was found for a given input symbol.
|
static int |
START
The states in a DFA should be ordered such that the start state is always 0.
|
List<Transition> |
transitions |
Constructor and Description |
---|
AutomatonState() |
AutomatonState(String label) |
public static final int REJECT
public static final int ACCEPT
public static final int START
public String label
public final List<Transition> transitions
public final List<AutomatonState> epsilonTransitions
public AutomatonState()
public AutomatonState(String label)
Copyright © 2015. All rights reserved.