Lines Matching refs:emit
263 emit.package_name = argv[i]; in parse_args()
273 emit.parser_class_name = argv[i]; in parse_args()
282 emit.input_file_name = argv[i]; in parse_args()
292 emit.symbol_const_class_name = argv[i]; in parse_args()
330 else if (argv[i].equals("-nowarn")) emit.nowarn = true; in parse_args()
370 if (emit.input_file_name != null) in open_files()
372 input_file = new BufferedInputStream(new FileInputStream(emit.input_file_name)); in open_files()
385 out_name = out_path + emit.parser_class_name + ".java"; in open_files()
396 out_name = out_path + emit.symbol_const_class_name + ".java"; in open_files()
470 emit.unused_term++; in check_unused()
471 if (!emit.nowarn) in check_unused()
489 emit.unused_term++; in check_unused()
490 if (!emit.nowarn) in check_unused()
544 start_state = lalr_state.build_machine(emit.start_production); in build_parser()
569 if (emit.num_conflicts > expect_conflicts) in build_parser()
590 emit.symbols(symbol_class_file, include_non_terms); in emit_parser()
591 emit.parser(parser_class_file, action_table, reduce_table, in emit_parser()
592 start_state.index(), emit.start_production, opt_compact_red); in emit_parser()
641 System.err.println(" " + emit.unused_term + " terminal" + in emit_summary()
642 plural(emit.unused_term) + " declared but not used."); in emit_summary()
643 System.err.println(" " + emit.unused_non_term + " non terminal" + in emit_summary()
644 plural(emit.unused_term) + " declared but not used."); in emit_summary()
647 System.err.println(" " + emit.not_reduced + " production" + in emit_summary()
648 plural(emit.not_reduced) + " never reduced."); in emit_summary()
651 System.err.println(" " + emit.num_conflicts + " conflict" + in emit_summary()
652 plural(emit.num_conflicts) + " detected" + in emit_summary()
657 System.err.println(" Code written to \"" + emit.parser_class_name + in emit_summary()
658 ".java\", and \"" + emit.symbol_const_class_name + ".java\"."); in emit_summary()
708 if (emit.symbols_time != 0) in show_times()
710 + timestr(emit.symbols_time, total_time)); in show_times()
711 if (emit.parser_time != 0) in show_times()
713 + timestr(emit.parser_time, total_time)); in show_times()
714 if (emit.action_code_time != 0) in show_times()
716 + timestr(emit.action_code_time, total_time)); in show_times()
717 if (emit.production_table_time != 0) in show_times()
719 + timestr(emit.production_table_time, total_time)); in show_times()
720 if (emit.action_table_time != 0) in show_times()
722 + timestr(emit.action_table_time, total_time)); in show_times()
723 if (emit.goto_table_time != 0) in show_times()
725 + timestr(emit.goto_table_time, total_time)); in show_times()