Uses of Class
jflex.Action
-
Packages that use Action Package Description jflex -
-
Uses of Action in jflex
Fields in jflex declared as Action Modifier and Type Field Description (package private) Action[]
DFA. action
action[state]
is the action that is to be carried out in statestate
,null
if there is no action.(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)private Action
EOFActions. defaultAction
Fields in jflex with type parameters of type Action Modifier and Type Field Description private java.util.Map<java.lang.Integer,Action>
EOFActions. actions
maps lexical states to actions(package private) java.util.List<Action>
LexScan. actions
(package private) java.util.List<Action>
RegExps. actions
the action of a regexpprivate 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 DFAMethods in jflex that return Action Modifier and Type Method Description Action
Action. copyChoice(int length)
copyChoice.Action
EOFActions. getAction(int state)
getAction.private Action
NFA. getAction(StateSet set)
Returns the action with highest priority in the specified set of states.Action
RegExps. getAction(int num)
getAction.Action
EOFActions. getDefault()
Returns the default action.Action
Action. getHigherPriority(Action other)
Compares the priority value of this Action with the specified action.Methods in jflex with parameters of type Action Modifier and Type Method Description void
EOFActions. add(java.lang.Integer state, Action action)
Add.void
EOFActions. add(java.util.List<java.lang.Integer> stateList, Action action)
Add.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)
insert.int
RegExps. insert(java.util.List<java.lang.Integer> stateList, Action action)
insert.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)
Returnstrue
iff the parameter is an Action with the same content as this one.void
DFA. setAction(int state, Action stateAction)
Sets the action.
-