Uses of Class
jflex.core.Action
-
Packages that use Action Package Description jflex.core jflex.dfa jflex.generator -
-
Uses of Action in jflex.core
Fields in jflex.core declared as Action Modifier and Type Field Description 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.core with type parameters of type Action Modifier and Type Field Description (package private) java.util.List<Action>
AbstractLexScan. actions
private java.util.Map<java.lang.Integer,Action>
EOFActions. actions
maps lexical states to actionsprivate java.util.List<Action>
RegExps. actions
the action of a regexpMethods in jflex.core that return Action Modifier and Type Method Description Action
Action. copyChoice(int length)
copyChoice.Action
EOFActions. getAction(int state)
getAction.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.core that return types with arguments of type Action Modifier and Type Method Description java.lang.Iterable<Action>
AbstractLexScan. actions()
Methods in jflex.core 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. -
Uses of Action in jflex.dfa
Fields in jflex.dfa declared as Action Modifier and Type Field Description private Action[]
DFA. action
action[state]
is the action that is to be carried out in statestate
,null
if there is no action.Fields in jflex.dfa with type parameters of type Action Modifier and Type Field Description private java.util.Map<Action,Action>
DFA. usedActions
all actions that are used in this DFAprivate java.util.Map<Action,Action>
DFA. usedActions
all actions that are used in this DFAMethods in jflex.dfa that return Action Modifier and Type Method Description Action
DFA. action(int i)
Methods in jflex.dfa with parameters of type Action Modifier and Type Method Description void
DFA. setAction(int state, Action stateAction)
Sets the action. -
Uses of Action in jflex.generator
Fields in jflex.generator with type parameters of type Action Modifier and Type Field Description private java.util.Map<Action,java.lang.Integer>
Emitter. actionTable
maps actions to their switch label
-