public class EOFActions
extends java.lang.Object
| Constructor and Description |
|---|
EOFActions() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Integer state,
Action action)
Add.
|
void |
add(java.util.List<java.lang.Integer> stateList,
Action action)
Add.
|
Action |
getAction(int state)
getAction.
|
Action |
getDefault()
Returns the default action.
|
int |
numActions()
Returns thenumber of
Actions. |
void |
setNumLexStates(int num)
Sets the number of lexical states.
|
public void setNumLexStates(int num)
num - number of states.public void add(java.util.List<java.lang.Integer> stateList,
Action action)
stateList - a List object.action - a Action object.public void add(java.lang.Integer state,
Action action)
state - a Integer object.action - a Action object.public Action getAction(int state)
state - a int.Action object.public int numActions()
Actions.Copyright © 1998–2021. All rights reserved.