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