Lines Matching defs:parser
10 * This class handles emitting generated code for the resulting parser.
21 * that were embedded in the parser specification.
22 * <dt> parser class
23 * <dd> the specialized parser class consisting primarily of some user
27 * Three parse tables are created as part of the parser class:
60 parser - emit the parser class
79 parser_class_name - name of the class for the resulting parser.
83 placed in parser class.
84 init_code - user supplied code to be executed as the parser
130 /** Name of the generated parser class. */
131 public static String parser_class_name = "parser";
140 /** User declarations for direct inclusion in parser class. */
145 /** User code for user_init() which is called during parser initialization. */
195 /** Time to produce parser class. */
210 /** Do we produce calls debug_gammar in generated parser? */
276 /* do the non terminals if they want them (parser doesn't need them) */
336 out.println(" java_cup.runtime.lr_parser " + pre("parser,"));
388 out.println(" " + pre("parser") + ".done_parsing();");
618 /** Emit the parser subclass with embedded tables.
626 public static void parser(
683 out.println(" java_cup.runtime.lr_parser parser,");
690 "act_num, parser, stack, top);");
695 /* method to tell the parser about the start state */