/cts/tools/dasm/src/java_cup/ |
action_production.java | 4 /** A specialized version of a production used when we split an existing 5 * production in order to remove an embedded action. Here we keep a bit 11 public class action_production extends production { 14 * @param base the production we are being factored out of. 15 * @param lhs_sym the LHS symbol for this production. 16 * @param rhs_parts array of production parts for the RHS. 18 * @param action_str the trailing reduce action for this production. 21 production base, 34 /** The production we were taken out of. */ 35 protected production _base_production [all...] |
reduce_action.java | 5 * The action simply stores the production that it reduces with and 18 * @param prod the production this action reduces with. 20 public reduce_action(production prod ) throws internal_error 25 "Attempt to create a reduce_action with a null production"); 34 /** The production we reduce with. */ 35 protected production _reduce_with; 37 /** The production we reduce with. */ 38 public production reduce_with() {return _reduce_with;} 71 /* use the hash code of the production we are reducing with */
|
non_terminal.java | 124 production prod; 150 for (e=production.all(); e.hasMoreElements(); ) 152 prod = (production)e.nextElement(); 168 production prod; 182 /* consider every production of that non terminal */ 185 prod = (production)p.nextElement(); 187 /* get the updated first of that production */ 218 /** Add a production to our set of productions. */ 219 public void add_production(production prod) throws internal_error 224 "Attempt to add invalid production to non terminal production table") [all...] |
parse_action_row.java | 76 reduction_count = new int[production.number()]; 79 for (i = 0; i < production.number(); i++) 88 /* count the reduce in the proper production slot and keep the
|
parse_action_table.java | 57 * Issue a warning message (to System.err) for each production that 64 production prod; 75 /* tell production that we used it */ 81 /* now go across every production and make sure we hit it */ 82 for (Enumeration p = production.all(); p.hasMoreElements(); ) 84 prod = (production)p.nextElement(); 95 System.err.println("*** Production \"" +
|
lr_item_core.java | 4 /** The "core" of an LR item. This includes a production and the position 5 * of a marker (the "dot") within the production. Typically item cores 6 * are written using a production with an embedded "dot" to indicate their 11 * the given production, and has succeeded in matching everything before the 30 * @param prod production this item uses. 33 public lr_item_core(production prod, int pos) throws internal_error 40 "Attempt to create an lr_item_core with a null production"); 65 * @param prod production this item uses. 67 public lr_item_core(production prod) throws internal_error 76 /** The production for the item. * [all...] |
emit.java | 29 * <dt> production table 31 * each production. 36 * <dd> when a reduce on a given production is taken, the parse stack is 38 * production. This reveals a prior state, which we transition out 39 * of under the LHS non terminal symbol for the production (as if we 65 emit_production_table - emit declaration and init for the production table 87 start_production - the start production for the grammar. 155 /** The start production of the grammar. */ 156 public static production start_production = null; 201 /** Time to produce the production table. * [all...] |
lalr_item.java | 6 * a production, a "dot" at a position within that production, and 13 * indicates that the parser is in the middle of parsing the production <pre> 17 * of either a, b, or c once the complete RHS of this production has been 38 * @param prod the production for the item. 39 * @param pos the position of the "dot" within the production. 42 public lalr_item(production prod, int pos, terminal_set look) 54 * @param prod the production for the item. 57 public lalr_item(production prod, terminal_set look) throws internal_error 65 * @param prod the production for the item [all...] |
production.java | 7 /** This class represents a production in the grammar. It contains 9 * transformations are done on the RHS of the production, it may shrink. 15 * computing the nullability of the production (i.e., can it derive the empty 18 * string derived from the production, see check_first_set()). 27 public class production { class 36 * manipulations in the process of creating a production object. 42 * Finally it assigns a unique index to the production.<p> 45 * non terminals. For example if the production was originally: <pre> 56 public production( method in class:production 77 "Attempt to construct a production with a null LHS") 130 public production( method in class:production [all...] |
lalr_item_set.java | 231 * corresponding to each production of N. Items with identical cores but 246 production prod; 271 /* create items for each production of that non term */ 274 prod = (production)p.nextElement();
|
Main.java | 635 System.err.println(production.number() + " production" + 636 plural(production.number()) + " declared, "); 647 System.err.println(" " + emit.not_reduced + " production" + 782 production prod; 804 for (p=production.all(); p.hasMoreElements(); ) 806 prod = (production)p.nextElement();
|
parser.java | 16 /** production table */ 33 /** access to production table */ 313 /** start production */ 361 /** helper routine to clone a new production part adding a given label */ 409 /** table of declared symbols -- contains production parts indexed by name */ 418 /** left hand side non terminal of the current production */ 583 /* add a new production part */ 606 /* add a labeled production part */ 636 /* build the production */ 637 production p = new production(lhs_nt, rhs_parts, rhs_pos) [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
gcc61253.go | 8 // `RecvStmt = ExpressionList "=" RecvExpr` production.
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
gcc61253.go | 8 // `RecvStmt = ExpressionList "=" RecvExpr` production.
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue139/ |
MergeValueTest.java | 49 assertTrue(map.containsKey("production")); 50 assertEquals(map.get("common"), map.get("production")); 66 Map<String, Integer> production = (Map<String, Integer>) map.get("production"); local 68 assertEquals(new Integer(3), production.get("key"));
|