Package | Description |
---|---|
jflex |
Modifier and Type | Field and Description |
---|---|
static StateSet |
StateSet.EMPTY
Constant
EMPTY |
(package private) StateSet[] |
NFA.epsilon
epsilon[current_state] is the set of states that can be reached from current_state via epsilon
edges
|
(package 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 static StateSet |
NFA.tempStateSet |
Modifier and Type | Method and Description |
---|---|
private StateSet |
NFA.closure(int startState)
Calculates the epsilon closure for a specified set of states.
|
private StateSet |
NFA.closure(StateSet startStates)
Returns the epsilon closure of a set of states
|
StateSet |
StateSet.complement(StateSet set)
Returns the set of elements that contained are in the specified set but are not contained in
this set.
|
StateSet |
StateSet.copy()
copy.
|
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 |
Modifier and Type | Method and Description |
---|---|
void |
StateSet.add(StateSet set)
add.
|
private StateSet |
NFA.closure(StateSet startStates)
Returns the epsilon closure of a set of states
|
StateSet |
StateSet.complement(StateSet set)
Returns the set of elements that contained are in the specified set but are not contained in
this set.
|
private boolean |
NFA.containsFinal(StateSet set)
Returns
true , iff the specified set of states contains a final state. |
boolean |
StateSet.containsSet(StateSet set)
containsSet.
|
void |
StateSet.copy(StateSet set)
Copy specified StateSet into this.
|
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 |
private Action |
NFA.getAction(StateSet set)
Returns the action with highest priority in the specified set of states.
|
void |
StateSetEnumerator.reset(StateSet states)
reset.
|
Constructor and Description |
---|
StateSet(StateSet set)
Constructor for StateSet.
|
StateSetEnumerator(StateSet states)
Constructor for StateSetEnumerator.
|