Lines Matching refs:items
19 * by several items). In our example above, the state would also include
20 * items such as: <pre>
31 * This corresponds to "moving the dot past" a terminal in one or more items
32 * in the state (these new shifted items will then be found in the state at
57 /** Constructor for building a state from a set of items.
58 * @param itms the set of items that makes up this state.
74 /* store the items */
99 * unclosed, set of items -- which uniquely define the state). This table
107 * found). The kernel item set is the subset of items that were used to
108 * originally create the state. These items are formed by "shifting the
109 * dot" within items of other states that have a transition to this one.
134 public lalr_item_set items() {return _items;}
172 itms = st.items();
200 to the lookahead of one item to be included in other items that it
240 * the dot in some item. For example, if we have the items: <pre>
245 * state. This new state would be formed by a "kernel" of items
251 * items so that it included items that represented productions of things
252 * the parser was now looking for. In this case we would items
260 * building process does not maintain full loookaheads in all items.
318 for (i = st.items().all(); i.hasMoreElements(); )
332 /* will be keeping the set of items with propagate links */
335 /* gather up shifted versions of all the items that have this
338 for (i = st.items().all(); i.hasMoreElements();)
354 /* use new items as state kernel */
375 /* otherwise relink propagation to items in existing state */
378 /* walk through the items that have links to the new state */
391 existing = new_st.items().find(new_itm);
416 * propagates to all items that have propagation links from some item
422 for (Enumeration itm = items().all(); itm.hasMoreElements(); )
466 for (Enumeration i = items().all(); i.hasMoreElements(); )
558 for (Enumeration itms = items().all(); itms.hasMoreElements(); )
572 for (Enumeration comps = items().all(); comps.hasMoreElements(); )
673 /* find and report on all items that shift under our conflict symbol */
674 for (Enumeration itms = items().all(); itms.hasMoreElements(); )
704 return other != null && items().equals(other.items());
724 return items().hashCode();