Package | Description |
---|---|
jflex |
Modifier and Type | Field and Description |
---|---|
(package private) Action[] |
NFA.action
action[current_state]: the action associated with the state
current_state (null, if there is no action for the state)
|
(package private) Action[] |
DFA.action
action[state] is the action that is to be carried out in
state state , null if there is no action. |
private Action |
EOFActions.defaultAction |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<Action> |
RegExps.actions
the action of a regexp
|
(package private) java.util.List<Action> |
LexScan.actions |
private java.util.Map<java.lang.Integer,Action> |
EOFActions.actions
maps lexical states to actions
|
private java.util.Map<Action,java.lang.Integer> |
Emitter.actionTable
maps actions to their switch label
|
(package private) java.util.Map<Action,Action> |
DFA.usedActions
all actions that are used in this DFA
|
(package private) java.util.Map<Action,Action> |
DFA.usedActions
all actions that are used in this DFA
|
Modifier and Type | Method and Description |
---|---|
Action |
Action.copyChoice(int length) |
Action |
RegExps.getAction(int num) |
Action |
EOFActions.getAction(int state) |
private Action |
NFA.getAction(StateSet set)
Returns the action with highest priority in the specified
set of states.
|
Action |
EOFActions.getDefault() |
Action |
Action.getHigherPriority(Action other)
Compares the priority value of this Action with the specified action.
|
Modifier and Type | Method and Description |
---|---|
void |
EOFActions.add(java.lang.Integer state,
Action action) |
void |
EOFActions.add(java.util.List<java.lang.Integer> stateList,
Action action) |
Action |
Action.getHigherPriority(Action other)
Compares the priority value of this Action with the specified action.
|
int |
RegExps.insert(int line,
java.util.List<java.lang.Integer> stateList,
RegExp regExp,
Action action,
java.lang.Boolean isBOL,
RegExp lookAhead) |
int |
RegExps.insert(java.util.List<java.lang.Integer> stateList,
Action action) |
private void |
NFA.insertLookAheadChoices(int baseEnd,
Action a,
RegExp lookAhead)
Insert NFAs for the (finitely many) fixed length lookahead choices.
|
boolean |
Action.isEquiv(Action a)
Returns
true iff the parameter is an
Action with the same content as this one. |
void |
DFA.setAction(int state,
Action stateAction) |