📄 y.output
字号:
state 179 SubrangeType : PLUS_$$81 prIdent DOTDOT $$82 constant SubrangeType : PLUS_NUMBER $$87 DOTDOT $$88 constant $$81 : _ (81) NUMBER shift 223 . reduce 81 $$81 goto 222state 180 SubrangeType : MINUS_$$84 prIdent DOTDOT $$85 constant SubrangeType : MINUS_NUMBER $$90 DOTDOT $$91 constant $$84 : _ (84) NUMBER shift 225 . reduce 84 $$84 goto 224state 181 opPACKED : PACKED_ (103) . reduce 103state 182 VarDef : varIdentList COLON $$41 typeDefinition_ (42) . reduce 42state 183 varIdentList : varIdentList COMMA $$296 exportIdent_ (297) . reduce 297state 184 ElementList : ElementList COMMA $$265_Element 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 71 prIdent goto 86 designator goto 82 factor goto 77 setexpr goto 81 SimpleExpression goto 72 Element goto 226 term goto 76 lsAddTerm goto 73state 185 Element : expression DOTDOT $$262_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 227 prIdent goto 86 designator goto 82 factor goto 77 setexpr goto 81 SimpleExpression goto 72 term goto 76 lsAddTerm goto 73state 186 expression : SimpleExpression relation SimpleExpression_ (228) . reduce 228state 187 term : term_MulOperator factor lsAddTerm : lsAddTerm AddOperator term_ (275) ASTERISK shift 128 SLASH shift 129 AND shift 132 DIV shift 130 MOD shift 131 . reduce 275 MulOperator goto 127state 188 SimpleExpression : PLUS $$270 lsAddTerm_ (271) lsAddTerm : lsAddTerm_AddOperator term PLUS shift 122 MINUS shift 123 OR shift 124 . reduce 271 AddOperator goto 121state 189 SimpleExpression : MINUS $$272 lsAddTerm_ (273) lsAddTerm : lsAddTerm_AddOperator term PLUS shift 122 MINUS shift 123 OR shift 124 . reduce 273 AddOperator goto 121state 190 term : term MulOperator factor_ (268) . reduce 268state 191 designator : designator LBRACKET $$222_ExpList RBRACKET 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 229 prIdent goto 86 designator goto 82 ExpList goto 228 factor goto 77 setexpr goto 81 SimpleExpression goto 72 term goto 76 lsAddTerm goto 73state 192 designator : designator DOT $$225_prIdent IDENT shift 27 . error ident goto 31 prIdent goto 230state 193 ActualParameters : LPAREN $$166_RPAREN RPAREN shift 231 . errorstate 194 ActualParameters : LPAREN $$168_ColonExpList 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 233 prIdent goto 86 designator goto 82 ColonExpList goto 232 factor goto 77 setexpr goto 81 SimpleExpression goto 72 term goto 76 lsAddTerm goto 73state 195 factor : LPAREN $$217 expression_RPAREN RPAREN shift 234 . errorstate 196 factor : NOT $$219 factor_ (220) . reduce 220state 197 setexpr : LBRACKET $$240 oplsElement_RBRACKET RBRACKET shift 235 . errorstate 198 setexpr : prIdent LBRACE $$242_oplsElement RBRACE 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 236 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 199 TypeDecl : TYPE $$29 TypeDef $$30 SEMICOLON_ (31) . reduce 31state 200 VarDecl : VAR $$36 VarDef $$37 SEMICOLON_ (38) . reduce 38state 201 block : oplsDeclaration BEGIN $$6 StatementSequence_ (7) StatementSequence : StatementSequence_SEMICOLON $$142 statement SEMICOLON shift 237 . reduce 7state 202 StatementSequence : statement_ (141) . reduce 141state 203 StatementSequence : error_SEMICOLON $$144 statement SEMICOLON shift 238 . errorstate 204 statement : opLabel_unlabelledStatement opLabel : opLabel_NUMBER COLON unlabelledStatement : _ (151) IDENT shift 27 NUMBER shift 240 BEGIN shift 260 CASE shift 254 GOTO shift 259 FOR shift 257 IF shift 253 REPEAT shift 256 WHILE shift 255 WITH shift 258 . reduce 151 ident goto 31 prIdent goto 252 BeginEndBlock goto 250 unlabelledStatement goto 239 Assignment goto 241 ProcedureCall goto 242 IfStatement goto 243 CaseStatement goto 244 WhileStatement goto 245 RepeatStatement goto 246 ForStatement goto 247 WithStatement goto 248 GotoStatement goto 249 designator goto 251state 205 FunctionHeader : FunctionPrefix fparameterList COLON $$50 prIdent_$$51 SEMICOLON $$51 : _ (51) . reduce 51 $$51 goto 261state 206 parameterList : LPAREN $$59 lsParam RPAREN_ (60) . reduce 60state 207 lsParam : lsParam SEMICOLON_$$132 formalParam $$132 : _ (132) . reduce 132 $$132 goto 262state 208 formalParam : PROCEDURE $$134_prIdentList IDENT shift 27 . error ident goto 31 prIdent goto 210 prIdentList goto 263state 209 formalParam : opParamType prIdentList_COLON $$136 typeIdentifier prIdentList : prIdentList_COMMA $$283 prIdent COMMA shift 265 COLON shift 264 . errorstate 210 prIdentList : prIdent_ (282) . reduce 282state 211 program : PROGRAM ident zoplsIdent SEMICOLON $$4 block_END DOT END shift 266 . errorstate 212 IdentList : IdentList COMMA ident_ (286) . reduce 286state 213 PointerType : UPARROW $$93_prIdent IDENT shift 27 . error ident goto 31 prIdent goto 267state 214 ArrayType : opPACKED ARRAY_$$95 bracketedSimpleTypeList OF $$96 typeDefinition $$95 : _ (95) . reduce 95 $$95 goto 268state 215 FileType : PFILE $$104_OF $$105 typeDefinition OF shift 269 . errorstate 216 SetType : SET $$128_OF $$129 SimpleType OF shift 270 . errorstate 217 RecordType : RECORD $$107_FieldList opCase END Field : _ (113) IDENT shift 27 . reduce 113 ident goto 31 prIdent goto 210 prIdentList goto 274 FieldList goto 271 lsField goto 272 Field goto 273state 218 enumeration : LPAREN $$70_prIdentList RPAREN IDENT shift 27 . error ident goto 31 prIdent goto 210 prIdentList goto 275state 219 SubrangeType : NUMBER $$72_DOTDOT $$73 constant DOTDOT shift 276 . errorstate 220 SubrangeType : CHARCONST $$75_DOTDOT $$76 constant DOTDOT shift 277 . errorstate 221 SubrangeType : IDENT $$78_DOTDOT $$79 constant DOTDOT shift 278 . errorstate 222 SubrangeType : PLUS $$81_prIdent DOTDOT $$82 constant IDENT shift 27 . error ident goto 31 prIdent goto 279state 223 SubrangeType : PLUS NUMBER_$$87 DOTDOT $$88 constant $$87 : _ (87) . reduce 87 $$87 goto 280state 224 SubrangeType : MINUS $$84_prIdent DOTDOT $$85 constant IDENT shift 27 . error ident goto 31 prIdent goto 281state 225 SubrangeType : MINUS NUMBER_$$90 DOTDOT $$91 constant $$90 : _ (90) . reduce 90 $$90 goto 282state 226 ElementList : ElementList COMMA $$265 Element_ (266) . reduce 266state 227 Element : expression DOTDOT $$262 expression_ (263) . reduce 263state 228 designator : designator LBRACKET $$222 ExpList_RBRACKET ExpList : ExpList_COMMA $$230 expression COMMA shift 284 RBRACKET shift 283 . errorstate 229 ExpList : expression_ (229) . reduce 229state 230 designator : designator DOT $$225 prIdent_ (226) . reduce 226state 231 ActualParameters : LPAREN $$166 RPAREN_ (167) . reduce 167state 232 ActualParameters : LPAREN $$168 ColonExpList_RPAREN ColonExpList : ColonExpList_COMMA $$233 expression opColonParam COMMA shift 286 RPAREN shift 285 . errorstate 233 ColonExpList : expression_opColonParam opColonParam : _ (235) COLON shift 289 . reduce 235 opColonParam goto 287 opColonParamHeader goto 288state 234 factor : LPAREN $$217 expression RPAREN_ (218) . reduce 218state 235 setexpr : LBRACKET $$240 oplsElement RBRACKET_ (241) . reduce 241state 236 setexpr : prIdent LBRACE $$242 oplsElement_RBRACE RBRACE shift 290 . errorstate 237 StatementSequence : StatementSequence SEMICOLON_$$142 statement $$142 : _ (142) . reduce 142 $$142 goto 291state 238 StatementSequence : error SEMICOLON_$$144 statement $$144 : _ (144) . reduce 144 $$144 goto 292state 239 statement : opLabel unlabelledStatement_ (148) . reduce 148state 240 opLabel : opLabel NUMBER_COLON COLON shift 293 . errorstate 241 unlabelledStatement : Assignment_ (152) . reduce 152state 242 unlabelledStatement : ProcedureCall_ (153) . reduce 153state 243 unlabelledStatement : IfStatement_ (154) . reduce 154state 244 unlabelledStatement : CaseStatement_ (155) . reduce 155state 245 unlabelledStatement : WhileStatement_ (156) . reduce 156state 246 unlabelledStatement : RepeatStatement_ (157) . reduce 157state 247 unlabelledStatement : ForStatement_ (158) . reduce 158state 248 unlabelledStatement : WithStatement_ (159) . reduce 159state 249 unlabelledStatement : GotoStatement_ (160) . reduce 160state 250 unlabelledStatement : BeginEndBlock_ (161) . reduce 161state 251 Assignment : designator_ASSIGN $$162 expression designator : designator_LBRACKET $$222 ExpList RBRACKET designator : designator_UPARROW designator : designator_DOT $$225 prIdent ASSIGN shift 294 DOT shift 136 LBRACKET shift 134 UPARROW shift 135 . errorstate 252 ProcedureCall : prIdent_ (164) ProcedureCall : prIdent_ActualParameters designator : prIdent_ (221) SEMICOLON reduce 164 LPAREN shift 137 ELSE reduce 164 END reduce 164 UNTIL reduce 164 . reduce 221 ActualParameters goto 295state 253 IfStatement : IF_$$170 expression THEN $$171 DelimitedSequence ElsePart $$170 : _ (170) . reduce 170 $$170 goto 296state 254 CaseStatement : CASE_$$181 expression OF $$182 lsCaseInstance END $$181 : _ (181) . reduce 181 $$181 goto 297state 255 WhileStatement : WHILE_$$189 expression DO $$190 DelimitedSequence $$189 : _ (189) . reduce 189 $$189 goto 298state 256 RepeatStatement : REPEAT_$$192 StatementSequence UNTIL $$193 expression $$192 : _ (192) . reduce 192 $$192 goto 299state 257 ForStatement : FOR_$$195 designator ASSIGN $$196 expression TOpart DO $$197 DelimitedSequence $$195 : _ (195) . reduce 195 $$195 goto 300state 258 WithStatement : WITH_$$203 WithDesignatorMiddle $$203 : _ (203) . reduce 203 $$203 goto 301state 259 GotoStatement : GOTO_$$209 expression $$209 : _ (209) . reduce 209 $$209 goto 302state 260 BeginEndBlock : BEGIN_StatementSequence END opLabel : _ (149) error shift 203 . reduce 149 StatementSequence goto 303 statement goto 202 opLabel goto 204state 261 FunctionHeader : FunctionPrefix fparameterList COLON $$50 prIdent $$51_SEMICOLON SEMICOLON shift 304 . errorstate 262 lsParam : lsParam SEMICOLON $$132_formalParam opParamType : _ (138) FUNCTION shift 154 PROCEDURE shift 151 VAR shift 153 . reduce 138 formalParam goto 305 opParamType goto 152state 263 formalParam : PROCEDURE $$134 prIdentList_ (135) prIdentList : prIdentList_COMMA $$283 prIdent COMMA shift 265 . reduce 135state 264 formalParam : opParamType prIdentList COLON_$$136 typeIdentifier $$136 : _ (136) . reduce 136 $$136 goto 306state 265 prIdentList : prIdentList COMMA_$$283 prIdent $$283 : _ (283) . reduce 283 $$283 goto 307state 266 program : PROGRAM ident zoplsIdent SEMICOLON $$4 block END_DOT DOT shift 308 . errorstate 267 PointerType : UPARROW $$93 prIdent_ (94) . reduce 94state 268 ArrayType : opPACKED ARRAY $$95_bracketedSimpleTypeList OF $$96 typeDefinition LBRACKET shift 310 . error bracketedSimpleTypeList goto 309state 269 FileType : PFILE $$104 OF_$$105 typeDefinition $$105 : _ (105) . reduce 105 $$105 goto 311state 270 SetType : SET $$128 OF_$$129 SimpleType $$129 : _ (129) . reduce 129 $$129 goto 312state 271 RecordType : RECORD $$107 FieldList_opCase END opCase : _ (116) CASE shift 314 . reduce 116 opCase goto 313state 272
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -