Searched refs:itm (Results 1 – 2 of 2) sorted by relevance
71 public boolean contains(lalr_item itm) {return _all.containsKey(itm);} in contains() argument79 public lalr_item find(lalr_item itm) {return (lalr_item)_all.get(itm);} in find() argument117 public lalr_item add(lalr_item itm) throws internal_error in add() argument121 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() argument150 not_null(itm); in remove()[all …]
162 lalr_item itm; in dump_state() local175 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() local293 itm = new lalr_item(start_prod); in build_machine()294 itm.lookahead().add(terminal.EOF); in build_machine()[all …]