| Modifier and Type | Field and Description | 
|---|---|
| protected Hashtable<lalr_item,lalr_item> | lalr_item_set. _allA hash table to implement the set. | 
| protected Hashtable<lalr_item,lalr_item> | lalr_item_set. _allA hash table to implement the set. | 
| protected Stack<lalr_item> | lalr_item. _propagate_itemsLinks to items that the lookahead needs to be propagated to. | 
| Modifier and Type | Method and Description | 
|---|---|
| lalr_item | lalr_item_set. add(lalr_item itm)Add a singleton item, merging lookahead sets if the item is already 
  part of the set. | 
| lalr_item | lalr_item_set. find(lalr_item itm)Return the item in the set matching a particular item (or null if not 
  found) | 
| lalr_item | lalr_item_set. get_one()Remove and return one item from the set (done in hash order). | 
| lalr_item | lalr_item. shift()Produce the new lalr_item that results from shifting the dot one position
  to the right. | 
| Modifier and Type | Method and Description | 
|---|---|
| Enumeration<lalr_item> | lalr_item_set. all()Access to all elements of the set. | 
| Stack<lalr_item> | lalr_item. propagate_items()Links to items that the lookahead needs to be propagated to | 
| Modifier and Type | Method and Description | 
|---|---|
| void | lalr_item. add_propagate(lalr_item prop_to)Add a new item to the set of items we propagate to. | 
| lalr_item | lalr_item_set. add(lalr_item itm)Add a singleton item, merging lookahead sets if the item is already 
  part of the set. | 
| boolean | lalr_item_set. contains(lalr_item itm)Does the set contain a particular item? | 
| boolean | lalr_item. equals(lalr_item other)Equality comparison -- here we only require the cores to be equal since
   we need to do sets of items based only on core equality (ignoring 
   lookahead sets). | 
| lalr_item | lalr_item_set. find(lalr_item itm)Return the item in the set matching a particular item (or null if not 
  found) | 
| void | lalr_item_set. remove(lalr_item itm)Remove a single item if it is in the set. | 
| protected void | lalr_state. report_reduce_reduce(lalr_item itm1,
                    lalr_item itm2)Produce a warning message for one reduce/reduce conflict. | 
| protected void | lalr_state. report_shift_reduce(lalr_item red_itm,
                   int conflict_sym)Produce a warning message for one shift/reduce conflict. | 
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.