|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.waxeye.parser.Edge<E>
E
- The node types for the AST.public final class Edge<E extends java.lang.Enum<?>>
An edge in an automaton state.
Constructor Summary | |
---|---|
Edge(ITransition<E> trans,
int state,
boolean voided)
Creates a new Edge. |
Method Summary | |
---|---|
int |
getState()
Returns the state. |
ITransition<E> |
getTrans()
Returns the trans. |
boolean |
isVoided()
Returns the voided. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Edge(ITransition<E> trans, int state, boolean voided)
trans
- The transition cost.state
- The state to transition to.voided
- Whether the edge is voided.Method Detail |
---|
public ITransition<E> getTrans()
public int getState()
public boolean isVoided()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |