Lines Matching refs:java_cup
7 package java_cup;
11 public class parser extends java_cup.runtime.lr_parser {
300 public java_cup.runtime.symbol do_action(
302 java_cup.runtime.lr_parser parser,
330 public java_cup.runtime.token scan()
427 public final java_cup.runtime.symbol CUP$do_action(
429 java_cup.runtime.lr_parser CUP$parser,
435 java_cup.runtime.symbol CUP$result;
443 CUP$result = new java_cup.runtime.symbol(/*empty*/27);
451 CUP$result = new java_cup.runtime.str_token(/*label_id*/30);
452 ((java_cup.runtime.str_token)CUP$result).str_val = (/*the_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val;
459 CUP$result = new java_cup.runtime.str_token(/*symbol_id*/29);
460 ((java_cup.runtime.str_token)CUP$result).str_val = (/*the_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val;
467 CUP$result = new java_cup.runtime.str_token(/*nt_id*/28);
468 ((java_cup.runtime.str_token)CUP$result).str_val = (/*the_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val;
475 CUP$result = new java_cup.runtime.symbol(/*new_non_term_id*/24);
478 if (symbols.get((/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val) != null)
481 lexer.emit_error( "Symbol \"" + (/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val +
488 new non_terminal((/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val, multipart_name);
491 non_terms.put((/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val, this_nt);
494 symbols.put((/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val, new symbol_part(this_nt));
503 CUP$result = new java_cup.runtime.symbol(/*new_term_id*/23);
506 if (symbols.get((/*term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val) != null)
509 lexer.emit_error("Symbol \"" + (/*term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val +
515 symbols.put((/*term_id*/(java_cup
516 new symbol_part(new terminal((/*term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val, multipart_name)));
525 CUP$result = new java_cup.runtime.symbol(/*type_id*/17);
533 CUP$result = new java_cup.runtime.symbol(/*import_id*/12);
541 CUP$result = new java_cup.runtime.symbol(/*import_id*/12);
549 CUP$result = new java_cup.runtime.symbol(/*multipart_id*/10);
550 append_multipart((/*an_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val);
557 CUP$result = new java_cup.runtime.symbol(/*multipart_id*/10);
558 append_multipart((/*another_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val);
565 CUP$result = new java_cup.runtime.str_token(/*opt_label*/31);
566 ((java_cup.runtime.str_token)CUP$result).str_val = null;
573 CUP$result = new java_cup.runtime.str_token(/*opt_label*/31);
574 ((java_cup.runtime.str_token)CUP$result).str_val = (/*labid*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val;
581 CUP$result = new java_cup.runtime.symbol(/*prod_part*/22);
584 add_rhs_part(new action_part((/*code_str*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val));
592 CUP$result = new java_cup.runtime.symbol(/*prod_part*/22);
595 production_part symb = (production_part)symbols.get((/*symid*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val);
601 lexer.emit_error("Symbol \"" + (/*symid*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val +
607 add_rhs_part(add_lab(symb, (/*labid*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val));
616 CUP$result = new java_cup.runtime.symbol(/*prod_part_list*/21);
624 CUP$result = new java_cup.runtime.symbol(/*prod_part_list*/21);
632 CUP$result = new java_cup.runtime.symbol(/*rhs*/26);
665 CUP$result = new java_cup.runtime.symbol(/*rhs_list*/25);
673 CUP$result = new java_cup.runtime.symbol(/*rhs_list*/25);
681 CUP$result = new java_cup.runtime.symbol(/*production*/20);
689 CUP$result = new java_cup.runtime.token(/*NT$9*/41);
697 CUP$result = new java_cup.runtime.symbol(/*production*/20);
705 CUP$result = new java_cup.runtime.token(/*NT$8*/40);
708 lhs_nt = (non_terminal)non_terms.get((/*lhs_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val);
714 lexer.emit_error("LHS non terminal \"" + (/*lhs_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val +
727 CUP$result = new java_cup.runtime.symbol(/*production_list*/9);
735 CUP$result = new java_cup.runtime.symbol(/*production_list*/9);
743 CUP$result = new java_cup.runtime.symbol(/*start_spec*/8);
751 CUP$result = new java_cup.runtime.symbol(/*start_spec*/8);
759 CUP$result = new java_cup.runtime.token(/*NT$7*/39);
762 non_terminal nt = (non_terminal)non_terms.get((/*start_name*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val);
765 lexer.emit_error( "Start non terminal \"" + (/*start_name*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val +
788 CUP$result = new java_cup.runtime.symbol(/*non_term_name_list*/19);
796 CUP$result = new java_cup.runtime.symbol(/*non_term_name_list*/19);
804 CUP$result = new java_cup.runtime.symbol(/*term_name_list*/18);
812 CUP$result = new java_cup.runtime.symbol(/*term_name_list*/18);
820 CUP$result = new java_cup.runtime.symbol(/*symbol*/15);
828 CUP$result = new java_cup.runtime.token(/*NT$6*/38);
839 CUP$result = new java_cup.runtime.symbol(/*symbol*/15);
847 CUP$result = new java_cup.runtime.token(/*NT$5*/37);
858 CUP$result = new java_cup.runtime.symbol(/*symbol*/15);
866 CUP$result = new java_cup.runtime.token(/*NT$4*/36);
877 CUP$result = new java_cup.runtime.symbol(/*symbol*/15);
885 CUP$result = new java_cup.runtime.token(/*NT$3*/35);
896 CUP$result = new java_cup.runtime.symbol(/*symbol_list*/7);
904 CUP$result = new java_cup.runtime.symbol(/*symbol_list*/7);
912 CUP$result = new java_cup.runtime.symbol(/*debug_grammar*/16);
920 CUP$result = new java_cup.runtime.symbol(/*debug_grammar*/16);
933 CUP$result = new java_cup.runtime.symbol(/*scan_code*/14);
941 CUP$result = new java_cup.runtime.symbol(/*scan_code*/14);
944 emit.scan_code = (/*user_code*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val;
952 CUP$result = new java_cup.runtime.symbol(/*init_code*/13);
960 CUP$result = new java_cup.runtime.symbol(/*init_code*/13);
963 emit.init_code = (/*user_code*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val;
971 CUP$result = new java_cup.runtime.symbol(/*parser_code_part*/6);
979 CUP$result = new java_cup.runtime.symbol(/*parser_code_part*/6);
982 emit.parser_code = (/*user_code*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val;
990 CUP$result = new java_cup
998 CUP$result = new java_cup.runtime.symbol(/*action_code_part*/5);
1001 emit.action_code = (/*user_code*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val;
1009 CUP$result = new java_cup.runtime.symbol(/*code_part*/4);
1017 CUP$result = new java_cup.runtime.symbol(/*import_spec*/11);
1025 CUP$result = new java_cup.runtime.token(/*NT$2*/34);
1039 CUP$result = new java_cup.runtime.symbol(/*import_list*/3);
1047 CUP$result = new java_cup.runtime.symbol(/*import_list*/3);
1055 CUP$result = new java_cup.runtime.symbol(/*package_spec*/2);
1063 CUP$result = new java_cup.runtime.symbol(/*package_spec*/2);
1071 CUP$result = new java_cup.runtime.token(/*NT$1*/33);
1085 CUP$result = new java_cup.runtime.symbol(/*spec*/1);
1093 CUP$result = new java_cup.runtime.symbol(/*spec*/1);
1101 CUP$result = new java_cup.runtime.token(/*NT$0*/32);
1115 CUP$result = new java_cup.runtime.token(/*$START*/0);