📄 y.output
字号:
VarDecl : VAR $$36 VarDef_$$37 SEMICOLON $$37 : _ (37) . reduce 37 $$37 goto 144state 90 ProcedureDecl : FunctionHeader block END_SEMICOLON SEMICOLON shift 145 . errorstate 91 ProcedureDecl : FunctionHeader EXTERNAL SEMICOLON_ (55) . reduce 55state 92 block : oplsDeclaration BEGIN_$$6 StatementSequence $$6 : _ (6) . reduce 6 $$6 goto 146state 93 ProcedureDecl : ProcedureHeader block END_SEMICOLON SEMICOLON shift 147 . errorstate 94 ProcedureDecl : ProcedureHeader EXTERNAL SEMICOLON_ (56) . reduce 56state 95 FunctionHeader : FunctionPrefix fparameterList COLON_$$50 prIdent $$51 SEMICOLON $$50 : _ (50) . reduce 50 $$50 goto 148state 96 parameterList : LPAREN $$59_lsParam RPAREN opParamType : _ (138) FUNCTION shift 154 PROCEDURE shift 151 VAR shift 153 . reduce 138 lsParam goto 149 formalParam goto 150 opParamType goto 152state 97 ProcedureHeader : ProcedurePrefix parameterList SEMICOLON_ (46) . reduce 46state 98 FunctionPrefix : FUNCTION $$47 exportIdent_ (48) . reduce 48state 99 ProcedurePrefix : PROCEDURE $$43 exportIdent_ (44) . reduce 44state 100 program : PROGRAM ident zoplsIdent SEMICOLON_$$4 block END DOT $$4 : _ (4) . reduce 4 $$4 goto 155state 101 zoplsIdent : LPAREN IdentList_RPAREN IdentList : IdentList_COMMA ident COMMA shift 157 RPAREN shift 156 . errorstate 102 IdentList : ident_ (285) . reduce 285state 103 ConstDef : exportIdent EQUALS $$27_expression PLUS shift 74 MINUS shift 75 LPAREN shift 83 LBRACKET shift 85 IDENT shift 27 NUMBER shift 78 CHARCONST shift 79 STRCONST shift 80 NOT shift 84 . error ident goto 31 expression goto 158 prIdent goto 86 designator goto 82 factor goto 77 setexpr goto 81 SimpleExpression goto 72 term goto 76 lsAddTerm goto 73state 104 TypeDecl : TypeDecl TypeDef $$32 SEMICOLON_ (33) . reduce 33state 105 TypeDef : exportIdent EQUALS $$34_typeDefinition opPACKED : _ (102) PLUS shift 179 MINUS shift 180 LPAREN shift 175 UPARROW shift 169 IDENT shift 178 NUMBER shift 176 CHARCONST shift 177 PACKED shift 181 PFILE shift 171 RECORD shift 173 SET shift 172 . reduce 102 ident goto 31 typeDefinition goto 159 prIdent goto 174 SimpleType goto 160 PointerType goto 161 ArrayType goto 162 FileType goto 163 SetType goto 164 RecordType goto 165 typeIdentifier goto 166 enumeration goto 167 SubrangeType goto 168 opPACKED goto 170state 106 VarDecl : VarDecl VarDef $$39 SEMICOLON_ (40) . reduce 40state 107 VarDef : varIdentList COLON $$41_typeDefinition opPACKED : _ (102) PLUS shift 179 MINUS shift 180 LPAREN shift 175 UPARROW shift 169 IDENT shift 178 NUMBER shift 176 CHARCONST shift 177 PACKED shift 181 PFILE shift 171 RECORD shift 173 SET shift 172 . reduce 102 ident goto 31 typeDefinition goto 182 prIdent goto 174 SimpleType goto 160 PointerType goto 161 ArrayType goto 162 FileType goto 163 SetType goto 164 RecordType goto 165 typeIdentifier goto 166 enumeration goto 167 SubrangeType goto 168 opPACKED goto 170state 108 varIdentList : varIdentList COMMA $$296_exportIdent IDENT shift 27 . error ident goto 31 exportIdent goto 183 prIdent goto 30state 109 IncludeDecl : SHARP INCLUDE $$20 STRCONST_ (21) . reduce 21state 110 LabelDecl : LABEL $$22 oplsElement SEMICOLON_ (23) . reduce 23state 111 ElementList : ElementList COMMA_$$265 Element $$265 : _ (265) . reduce 265 $$265 goto 184state 112 Element : expression DOTDOT_$$262 expression $$262 : _ (262) . reduce 262 $$262 goto 185state 113 expression : SimpleExpression relation_SimpleExpression PLUS shift 74 MINUS shift 75 LPAREN shift 83 LBRACKET shift 85 IDENT shift 27 NUMBER shift 78 CHARCONST shift 79 STRCONST shift 80 NOT shift 84 . error ident goto 31 prIdent goto 86 designator goto 82 factor goto 77 setexpr goto 81 SimpleExpression goto 186 term goto 76 lsAddTerm goto 73state 114 relation : EQUALS_ (254) . reduce 254state 115 relation : NOTEQUAL_ (255) . reduce 255state 116 relation : LESS_ (256) . reduce 256state 117 relation : LSEQUAL_ (257) . reduce 257state 118 relation : GREATER_ (258) . reduce 258state 119 relation : GREQUAL_ (259) . reduce 259state 120 relation : IN_ (260) . reduce 260state 121 lsAddTerm : lsAddTerm AddOperator_term LPAREN shift 83 LBRACKET shift 85 IDENT shift 27 NUMBER shift 78 CHARCONST shift 79 STRCONST shift 80 NOT shift 84 . error ident goto 31 prIdent goto 86 designator goto 82 factor goto 77 setexpr goto 81 term goto 187state 122 AddOperator : PLUS_ (251) . reduce 251state 123 AddOperator : MINUS_ (252) . reduce 252state 124 AddOperator : OR_ (253) . reduce 253state 125 SimpleExpression : PLUS $$270_lsAddTerm LPAREN shift 83 LBRACKET shift 85 IDENT shift 27 NUMBER shift 78 CHARCONST shift 79 STRCONST shift 80 NOT shift 84 . error ident goto 31 prIdent goto 86 designator goto 82 factor goto 77 setexpr goto 81 term goto 76 lsAddTerm goto 188state 126 SimpleExpression : MINUS $$272_lsAddTerm LPAREN shift 83 LBRACKET shift 85 IDENT shift 27 NUMBER shift 78 CHARCONST shift 79 STRCONST shift 80 NOT shift 84 . error ident goto 31 prIdent goto 86 designator goto 82 factor goto 77 setexpr goto 81 term goto 76 lsAddTerm goto 189state 127 term : term MulOperator_factor LPAREN shift 83 LBRACKET shift 85 IDENT shift 27 NUMBER shift 78 CHARCONST shift 79 STRCONST shift 80 NOT shift 84 . error ident goto 31 prIdent goto 86 designator goto 82 factor goto 190 setexpr goto 81state 128 MulOperator : ASTERISK_ (246) . reduce 246state 129 MulOperator : SLASH_ (247) . reduce 247state 130 MulOperator : DIV_ (248) . reduce 248state 131 MulOperator : MOD_ (249) . reduce 249state 132 MulOperator : AND_ (250) . reduce 250state 133 factor : designator ActualParameters_ (216) . reduce 216state 134 designator : designator LBRACKET_$$222 ExpList RBRACKET $$222 : _ (222) . reduce 222 $$222 goto 191state 135 designator : designator UPARROW_ (224) . reduce 224state 136 designator : designator DOT_$$225 prIdent $$225 : _ (225) . reduce 225 $$225 goto 192state 137 ActualParameters : LPAREN_$$166 RPAREN ActualParameters : LPAREN_$$168 ColonExpList RPAREN $$166 : _ (166) $$168 : _ (168) RPAREN reduce 166 . reduce 168 $$166 goto 193 $$168 goto 194state 138 factor : LPAREN $$217_expression RPAREN PLUS shift 74 MINUS shift 75 LPAREN shift 83 LBRACKET shift 85 IDENT shift 27 NUMBER shift 78 CHARCONST shift 79 STRCONST shift 80 NOT shift 84 . error ident goto 31 expression goto 195 prIdent goto 86 designator goto 82 factor goto 77 setexpr goto 81 SimpleExpression goto 72 term goto 76 lsAddTerm goto 73state 139 factor : NOT $$219_factor LPAREN shift 83 LBRACKET shift 85 IDENT shift 27 NUMBER shift 78 CHARCONST shift 79 STRCONST shift 80 NOT shift 84 . error ident goto 31 prIdent goto 86 designator goto 82 factor goto 196 setexpr goto 81state 140 setexpr : LBRACKET $$240_oplsElement RBRACKET oplsElement : _ (244) PLUS shift 74 MINUS shift 75 LPAREN shift 83 LBRACKET shift 85 IDENT shift 27 NUMBER shift 78 CHARCONST shift 79 STRCONST shift 80 NOT shift 84 . reduce 244 ident goto 31 oplsElement goto 197 expression goto 71 prIdent goto 86 ElementList goto 69 designator goto 82 factor goto 77 setexpr goto 81 SimpleExpression goto 72 Element goto 70 term goto 76 lsAddTerm goto 73state 141 setexpr : prIdent LBRACE_$$242 oplsElement RBRACE $$242 : _ (242) . reduce 242 $$242 goto 198state 142 ConstDecl : CONST $$24 ConstDef SEMICOLON_ (25) . reduce 25state 143 TypeDecl : TYPE $$29 TypeDef $$30_SEMICOLON SEMICOLON shift 199 . errorstate 144 VarDecl : VAR $$36 VarDef $$37_SEMICOLON SEMICOLON shift 200 . errorstate 145 ProcedureDecl : FunctionHeader block END SEMICOLON_ (53) . reduce 53state 146 block : oplsDeclaration BEGIN $$6_StatementSequence opLabel : _ (149) error shift 203 . reduce 149 StatementSequence goto 201 statement goto 202 opLabel goto 204state 147 ProcedureDecl : ProcedureHeader block END SEMICOLON_ (54) . reduce 54state 148 FunctionHeader : FunctionPrefix fparameterList COLON $$50_prIdent $$51 SEMICOLON IDENT shift 27 . error ident goto 31 prIdent goto 205state 149 parameterList : LPAREN $$59 lsParam_RPAREN lsParam : lsParam_SEMICOLON $$132 formalParam SEMICOLON shift 207 RPAREN shift 206 . errorstate 150 lsParam : formalParam_ (131) . reduce 131state 151 formalParam : PROCEDURE_$$134 prIdentList $$134 : _ (134) . reduce 134 $$134 goto 208state 152 formalParam : opParamType_prIdentList COLON $$136 typeIdentifier IDENT shift 27 . error ident goto 31 prIdent goto 210 prIdentList goto 209state 153 opParamType : VAR_ (139) . reduce 139state 154 opParamType : FUNCTION_ (140) . reduce 140state 155 program : PROGRAM ident zoplsIdent SEMICOLON $$4_block END DOT oplsDeclaration : _ (9) error shift 13 SHARP shift 14 CONST shift 16 LABEL shift 15 FORWARD shift 46 FUNCTION shift 23 PROCEDURE shift 24 TYPE shift 17 VAR shift 18 . reduce 9 lsDeclaration goto 47 block goto 211 oplsDeclaration goto 45 declaration goto 6 IncludeDecl goto 7 LabelDecl goto 8 ConstDecl goto 9 TypeDecl goto 10 VarDecl goto 11 ProcedureDecl goto 12 ProcedurePrefix goto 22 ProcedureHeader goto 20 FunctionPrefix goto 21 FunctionHeader goto 19state 156 zoplsIdent : LPAREN IdentList RPAREN_ (281) . reduce 281state 157 IdentList : IdentList COMMA_ident IDENT shift 27 . error ident goto 212state 158 ConstDef : exportIdent EQUALS $$27 expression_ (28) . reduce 28state 159 TypeDef : exportIdent EQUALS $$34 typeDefinition_ (35) . reduce 35state 160 typeDefinition : SimpleType_ (61) . reduce 61state 161 typeDefinition : PointerType_ (62) . reduce 62state 162 typeDefinition : ArrayType_ (63) . reduce 63state 163 typeDefinition : FileType_ (64) . reduce 64state 164 typeDefinition : SetType_ (65) . reduce 65state 165 typeDefinition : RecordType_ (66) . reduce 66state 166 SimpleType : typeIdentifier_ (67) . reduce 67state 167 SimpleType : enumeration_ (68) . reduce 68state 168 SimpleType : SubrangeType_ (69) . reduce 69state 169 PointerType : UPARROW_$$93 prIdent $$93 : _ (93) . reduce 93 $$93 goto 213state 170 ArrayType : opPACKED_ARRAY $$95 bracketedSimpleTypeList OF $$96 typeDefinition ARRAY shift 214 . errorstate 171 FileType : PFILE_$$104 OF $$105 typeDefinition $$104 : _ (104) . reduce 104 $$104 goto 215state 172 SetType : SET_$$128 OF $$129 SimpleType $$128 : _ (128) . reduce 128 $$128 goto 216state 173 RecordType : RECORD_$$107 FieldList opCase END $$107 : _ (107) . reduce 107 $$107 goto 217state 174 typeIdentifier : prIdent_ (278) . reduce 278state 175 enumeration : LPAREN_$$70 prIdentList RPAREN $$70 : _ (70) . reduce 70 $$70 goto 218state 176 SubrangeType : NUMBER_$$72 DOTDOT $$73 constant $$72 : _ (72) . reduce 72 $$72 goto 219state 177 SubrangeType : CHARCONST_$$75 DOTDOT $$76 constant $$75 : _ (75) . reduce 75 $$75 goto 220state 178 SubrangeType : IDENT_$$78 DOTDOT $$79 constant ident : IDENT_ (287) $$78 : _ (78) DOTDOT reduce 78 . reduce 287 $$78 goto 221
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -