|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--geneseo.cs.compiler.Transition
Represents a transition in a finite transducer. The two key pieces of information about any transition are the state that it goes to, and an integer that represents a set of "action flags" -- nominally bits that are on if a transducer should take a certain action on this transition, and off if not. Finite transducer objects return the action flags to their clients every time they make a transition. Clients can interpret these flags in any way that they like.
FiniteTransducer
Field Summary | |
int |
acts
The transition's action flags. |
int |
nextState
The state that this transition goes to. |
Constructor Summary | |
Transition(int state,
int flags)
Initialize a transition going to a given state, with certain actions. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int nextState
public int acts
Constructor Detail |
public Transition(int state, int flags)
state
- The state to which the transition goes.flags
- The action flags.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |