|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.waxeye.parser.FA<E>
E
- The node types for the AST.public final class FA<E extends java.lang.Enum<?>>
A finite state automaton.
Field Summary | |
---|---|
static int |
LEFT
The normal automaton mode. |
static int |
PRUNE
The vertical prune mode. |
static int |
VOID
The void mode. |
Constructor Summary | |
---|---|
FA(E type,
int mode,
java.util.List<State<E>> states)
Creates a new finite state automaton. |
Method Summary | |
---|---|
int |
getMode()
Returns the mode. |
java.util.List<State<E>> |
getStates()
Returns the states. |
E |
getType()
Returns the type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LEFT
public static final int VOID
public static final int PRUNE
Constructor Detail |
---|
public FA(E type, int mode, java.util.List<State<E>> states)
type
- The type of the automaton.mode
- The automaton mode.states
- The states of the automaton.Method Detail |
---|
public E getType()
public int getMode()
public java.util.List<State<E>> getStates()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |