Modifier and Type | Field and Description |
---|---|
protected lalr_item_set |
lalr_state._items
The item set for this state.
|
Modifier and Type | Field and Description |
---|---|
protected static Hashtable<lalr_item_set,lalr_state> |
lalr_state._all
Collection of all states.
|
protected static Hashtable<lalr_item_set,lalr_state> |
lalr_state._all_kernels
Hash table to find states by their kernels (i.e, the original,
unclosed, set of items -- which uniquely define the state).
|
Modifier and Type | Method and Description |
---|---|
lalr_item_set |
lalr_state.items()
The item set for this state.
|
Modifier and Type | Method and Description |
---|---|
void |
lalr_item_set.add(lalr_item_set other)
Add a complete set, merging lookaheads where items are already in
the set
|
boolean |
lalr_item_set.equals(lalr_item_set other)
Equality comparison.
|
static lalr_state |
lalr_state.find_state(lalr_item_set itms)
Find and return state with a given a kernel item set (or null if not
found).
|
boolean |
lalr_item_set.is_subset_of(lalr_item_set other)
Is this set an (improper) subset of another?
|
boolean |
lalr_item_set.is_superset_of(lalr_item_set other)
Is this set an (improper) superset of another?
|
void |
lalr_item_set.remove(lalr_item_set other)
Remove (set subtract) a complete set.
|
Constructor and Description |
---|
lalr_item_set(lalr_item_set other)
Constructor for cloning from another set.
|
lalr_state(lalr_item_set itms)
Constructor for building a state from a set of items.
|
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.