Home
last modified time | relevance | path

Searched refs:itm (Results 1 – 2 of 2) sorted by relevance

/cts/tools/dasm/src/java_cup/
Dlalr_item_set.java71 public boolean contains(lalr_item itm) {return _all.containsKey(itm);} in contains() argument
79 public lalr_item find(lalr_item itm) {return (lalr_item)_all.get(itm);} in find() argument
117 public lalr_item add(lalr_item itm) throws internal_error in add() argument
121 not_null(itm); in add()
124 other = (lalr_item)_all.get(itm); in add()
129 other.lookahead().add(itm.lookahead()); in add()
138 _all.put(itm,itm); in add()
139 return itm; in add()
148 public void remove(lalr_item itm) throws internal_error in remove() argument
150 not_null(itm); in remove()
[all …]
Dlalr_state.java162 lalr_item itm; in dump_state() local
175 itm = (lalr_item)e.nextElement(); in dump_state()
177 System.out.print(itm.the_production().lhs().the_symbol().name()); in dump_state()
179 for (int i = 0; i<itm.the_production().rhs_length(); i++) in dump_state()
181 if (i == itm.dot_pos()) System.out.print("(*) "); in dump_state()
182 part = itm.the_production().rhs(i); in dump_state()
188 if (itm.dot_at_end()) System.out.print("(*) "); in dump_state()
282 lalr_item itm, new_itm, existing, fix_itm; in build_machine() local
293 itm = new lalr_item(start_prod); in build_machine()
294 itm.lookahead().add(terminal.EOF); in build_machine()
[all …]