|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.waxeye.parser.AutomatonTransition<E>
E - The AST type.public final class AutomatonTransition<E extends java.lang.Enum<?>>
A transition cost of matching an automaton.
| Constructor Summary | |
|---|---|
AutomatonTransition(int index)
Create a new AutomatonTransition. |
|
| Method Summary | |
|---|---|
IAST<E> |
acceptVisitor(ITransitionVisitor<E> visitor)
If this transition cost can be accepted by the parser. |
int |
getIndex()
Returns the index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AutomatonTransition(int index)
index - The index of the automaton.| Method Detail |
|---|
public int getIndex()
public IAST<E> acceptVisitor(ITransitionVisitor<E> visitor)
acceptVisitor in interface ITransition<E extends java.lang.Enum<?>>visitor - The transition visitor.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||