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.epsilonepsilon[current_state] is the set of states that can be reached from current_state via epsilon edgesprivate StateSet[][]NFA.tabletable[current_state][next_char] is the set of states that can be reached from current_state with an input next_charprivate final StateSetNFA.tempStateSetMethods in jflex.core that return StateSetModifier and TypeMethodDescriptionprivate StateSetNFA.closure(int startState) Calculates the epsilon closure for a specified set of states.private StateSetCalculates the set of states that can be reached from another set of statesstartwith an specified input characterinputNFA.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 TypeMethodDescriptionbooleanNFA.containsFinal(StateSet set) Returnstrue, iff the specified set of states contains a final state.private StateSetCalculates the set of states that can be reached from another set of statesstartwith an specified input characterinputReturns the action with highest priority in the specified set of states. -
Uses of StateSet in jflex.state
Methods 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 StateSetStateSet.emptySet(int length) Return a new StateSet of the specified length.Methods in jflex.state with parameters of type StateSetModifier and TypeMethodDescriptionvoidAdd 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.booleanDetermine if the given set is a subset of this set.voidCopy specified StateSet into this.voidRemove all states fromthisthat are not contained in the providedStateSet.voidReset 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.