Uses of Class
jflex.state.StateSet

Packages that use StateSet
Package
Description
 
 
  • Uses of StateSet in jflex.core

    Fields in jflex.core declared as StateSet
    Modifier and Type
    Field
    Description
    private StateSet[]
    epsilon[current_state] is the set of states that can be reached from current_state via epsilon edges
    private StateSet[][]
    NFA.table
    table[current_state][next_char] is the set of states that can be reached from current_state with an input next_char
    private final StateSet
     
    Methods in jflex.core that return StateSet
    Modifier and Type
    Method
    Description
    private StateSet
    NFA.closure(int startState)
    Calculates the epsilon closure for a specified set of states.
    private StateSet
    NFA.DFAEdge(StateSet start, int input)
    Calculates the set of states that can be reached from another set of states start with an specified input character input
    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.
     
    Methods in jflex.core with parameters of type StateSet
    Modifier and Type
    Method
    Description
    boolean
    Returns true, iff the specified set of states contains a final state.
    private StateSet
    NFA.DFAEdge(StateSet start, int input)
    Calculates the set of states that can be reached from another set of states start with an specified input character input
    Returns the action with highest priority in the specified set of states.
  • Uses of StateSet in jflex.state

    Fields in jflex.state declared as StateSet
    Modifier and Type
    Field
    Description
    static final StateSet
    StateSet.EMPTY
    The empty set of states
    Methods in jflex.state that return StateSet
    Modifier and Type
    Method
    Description
    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.
    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 StateSet
    Modifier and Type
    Method
    Description
    void
    StateSet.add(StateSet set)
    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
    StateSet.contains(StateSet set)
    Determine if the given set is a subset of this set.
    void
    StateSet.copy(StateSet set)
    Copy specified StateSet into this.
    void
    StateSet.intersect(StateSet set)
    Remove all states from this that are not contained in the provided StateSet.
    void
    StateSetEnumerator.reset(StateSet states)
    Reset this enumerator/iterator and associate it with a given StateSet.
    Constructors in jflex.state with parameters of type StateSet
    Modifier
    Constructor
    Description
     
    Copy the specified StateSet to create a new one.
     
    Construct a StateSetEnumerator for a given StateSet.