Searched refs:prod (Results 1 – 9 of 9) sorted by relevance
/cts/tools/dasm/src/java_cup/ |
D | non_terminal.java | 124 production prod; in compute_nullability() local 152 prod = (production)e.nextElement(); in compute_nullability() 153 prod.set_nullable(prod.check_nullable()); in compute_nullability() 168 production prod; in compute_first_sets() local 185 prod = (production)p.nextElement(); in compute_first_sets() 188 prod_first = prod.check_first_set(); in compute_first_sets() 219 public void add_production(production prod) throws internal_error in add_production() argument 222 if (prod == null || prod.lhs() == null || prod.lhs().the_symbol() != this) in add_production() 227 _productions.put(prod,prod); in add_production()
|
D | parse_action_row.java | 72 int i, prod, max_prod, max_red; in compute_default() local 90 prod = ((reduce_action)under_term[i]).reduce_with().index(); in compute_default() 91 reduction_count[prod]++; in compute_default() 92 if (reduction_count[prod] > max_red) in compute_default() 94 max_red = reduction_count[prod]; in compute_default() 95 max_prod = prod; in compute_default()
|
D | emit.java | 307 production prod; in emit_action_code() local 355 prod = (production)p.nextElement(); in emit_action_code() 359 out.println(" case " + prod.index() + ": // " + in emit_action_code() 360 prod.to_simple_string()); in emit_action_code() 368 prod.to_simple_string() + "\");"); in emit_action_code() 372 prod.lhs().the_symbol().stack_type() + "(/*" + in emit_action_code() 373 prod.lhs().the_symbol().name() + "*/" + in emit_action_code() 374 prod.lhs().the_symbol().index() + ");"); in emit_action_code() 377 if (prod.action() != null && prod.action().code_string() != null && in emit_action_code() 378 !prod.action().equals("")) in emit_action_code() [all …]
|
D | reduce_action.java | 20 public reduce_action(production prod ) throws internal_error in reduce_action() argument 23 if (prod == null) in reduce_action() 27 _reduce_with = prod; in reduce_action()
|
D | parse_action_table.java | 64 production prod; in check_reductions() local 84 prod = (production)p.nextElement(); in check_reductions() 87 if (prod.num_reductions() == 0) in check_reductions() 96 prod.to_simple_string() + "\" never reduced"); in check_reductions()
|
D | lalr_item.java | 42 public lalr_item(production prod, int pos, terminal_set look) in lalr_item() argument 45 super(prod, pos); in lalr_item() 57 public lalr_item(production prod, terminal_set look) throws internal_error in lalr_item() argument 59 this(prod,0,look); in lalr_item() 67 public lalr_item(production prod) throws internal_error in lalr_item() argument 69 this(prod,0,new terminal_set()); in lalr_item()
|
D | lr_item_core.java | 33 public lr_item_core(production prod, int pos) throws internal_error in lr_item_core() argument 38 if (prod == null) in lr_item_core() 42 _the_production = prod; in lr_item_core() 67 public lr_item_core(production prod) throws internal_error in lr_item_core() argument 69 this(prod,0); in lr_item_core()
|
D | lalr_item_set.java | 246 production prod; in compute_closure() local 274 prod = (production)p.nextElement(); in compute_closure() 277 new_itm = new lalr_item(prod,new_lookaheads); in compute_closure()
|
D | Main.java | 782 production prod; 806 prod = (production)p.nextElement(); 807 System.err.print(prod.lhs().the_symbol().name() + " ::= "); 808 for (int i=0; i<prod.rhs_length(); i++) 809 if (prod.rhs(i).is_action()) 813 ((symbol_part)prod.rhs(i)).the_symbol().name() + " ");
|