Uses of Class
jflex.state.StateSet
Packages that use StateSet
-
Uses of StateSet in jflex.core
Fields in jflex.core declared as StateSetModifier and TypeFieldDescriptionprivate StateSet[]
NFA.epsilon
epsilon[current_state] is the set of states that can be reached from current_state via epsilon edgesprivate StateSet[][]
NFA.table
table[current_state][next_char] is the set of states that can be reached from current_state with an input next_charprivate final StateSet
NFA.tempStateSet
Methods in jflex.core that return StateSetModifier and TypeMethodDescriptionprivate StateSet
NFA.closure
(int startState) Calculates the epsilon closure for a specified set of states.private StateSet
Calculates the set of states that can be reached from another set of statesstart
with an specified input characterinput
NFA.epsilon
(int i) NFA.reachableStates
(int currentState, int nextChar) Returns the set of states that can be reached from currentState with an input nextChar.NFA.tempStateSet()
Methods in jflex.core with parameters of type StateSetModifier and TypeMethodDescriptionboolean
NFA.containsFinal
(StateSet set) Returnstrue
, iff the specified set of states contains a final state.private StateSet
Calculates the set of states that can be reached from another set of statesstart
with an specified input characterinput
Returns the action with highest priority in the specified set of states. -
Uses of StateSet in jflex.state
Fields in jflex.state declared as StateSetMethods in jflex.state that return StateSetModifier and TypeMethodDescriptionStateSet.complement
(StateSet univ) Returns the complement of this set with respect to the specified set, that is, the set of elements that are contained in the specified set but are not contained in this set.StateSet.copy()
Return a copy of this StateSet.static StateSet
StateSet.emptySet
(int length) Return a new StateSet of the specified length.Methods in jflex.state with parameters of type StateSetModifier and TypeMethodDescriptionvoid
Add all elements of the specified StateSet to this one.StateSet.complement
(StateSet univ) Returns the complement of this set with respect to the specified set, that is, the set of elements that are contained in the specified set but are not contained in this set.boolean
Determine if the given set is a subset of this set.void
Copy specified StateSet into this.void
Remove all states fromthis
that are not contained in the providedStateSet
.void
Reset this enumerator/iterator and associate it with a given StateSet.Constructors in jflex.state with parameters of type StateSetModifierConstructorDescriptionCopy the specified StateSet to create a new one.StateSetEnumerator
(StateSet states) Construct a StateSetEnumerator for a given StateSet.