⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 y.output

📁 编译原理课程设计之pp2语法分析程序
💻 OUTPUT
📖 第 1 页 / 共 5 页
字号:
    '('               shift, and go to state 71    $default  reduce using rule 75 (Expr_Em)    Ident        go to state 100    Expr_Em      go to state 140    Expr         go to state 141    Call         go to state 88    LValue       go to state 89    IntConstant  go to state 90    Constant     go to state 91state 98   61 IfStmt: T_If '(' . Expr ')' Stmt   62       | T_If '(' . Expr ')' Stmt T_Else Stmt    T_Null            shift, and go to state 48    T_This            shift, and go to state 49    T_New             shift, and go to state 55    T_NewArray        shift, and go to state 56    T_ReadInteger     shift, and go to state 58    T_ReadLine        shift, and go to state 59    T_Identifier      shift, and go to state 7    T_StringConstant  shift, and go to state 63    T_IntConstant     shift, and go to state 64    T_DoubleConstant  shift, and go to state 65    T_BoolConstant    shift, and go to state 66    '-'               shift, and go to state 67    '!'               shift, and go to state 68    '('               shift, and go to state 71    Ident        go to state 100    Expr         go to state 142    Call         go to state 88    LValue       go to state 89    IntConstant  go to state 90    Constant     go to state 91state 99   60 ReturnStmt: T_Return ';' .    $default  reduce using rule 60 (ReturnStmt)state 100  102 Call: Ident . '(' Actuals ')'  108 LValue: Ident .    '('  shift, and go to state 114    $default  reduce using rule 108 (LValue)state 101   59 ReturnStmt: T_Return Expr . ';'   77 Expr: Expr . '+' Expr   78     | Expr . '*' Expr   79     | Expr . '/' Expr   80     | Expr . '%' Expr   81     | Expr . '>' Expr   82     | Expr . '<' Expr   84     | Expr . '-' Expr   85     | Expr . T_LessEqual Expr   86     | Expr . T_GreaterEqual Expr   87     | Expr . T_Equal Expr   88     | Expr . T_NotEqual Expr   89     | Expr . T_Or Expr   90     | Expr . T_And Expr  101     | Expr . '?' Expr ':' Expr  103 Call: Expr . '.' Ident '(' Actuals ')'  109 LValue: Expr . '.' Ident  110       | Expr . '[' Expr ']'    T_LessEqual     shift, and go to state 120    T_GreaterEqual  shift, and go to state 121    T_Equal         shift, and go to state 122    T_NotEqual      shift, and go to state 123    T_And           shift, and go to state 124    T_Or            shift, and go to state 125    '?'             shift, and go to state 126    '<'             shift, and go to state 127    '>'             shift, and go to state 128    '-'             shift, and go to state 129    '+'             shift, and go to state 130    '*'             shift, and go to state 131    '/'             shift, and go to state 132    '%'             shift, and go to state 133    '.'             shift, and go to state 134    '['             shift, and go to state 135    ';'             shift, and go to state 143state 102   58 BreakStmt: T_Break ';' .    $default  reduce using rule 58 (BreakStmt)state 103   95 Expr: T_New '(' . Ident ')'    T_Identifier  shift, and go to state 7    Ident  go to state 144state 104   96 Expr: T_NewArray '(' . Expr ',' Type ')'    T_Null            shift, and go to state 48    T_This            shift, and go to state 49    T_New             shift, and go to state 55    T_NewArray        shift, and go to state 56    T_ReadInteger     shift, and go to state 58    T_ReadLine        shift, and go to state 59    T_Identifier      shift, and go to state 7    T_StringConstant  shift, and go to state 63    T_IntConstant     shift, and go to state 64    T_DoubleConstant  shift, and go to state 65    T_BoolConstant    shift, and go to state 66    '-'               shift, and go to state 67    '!'               shift, and go to state 68    '('               shift, and go to state 71    Ident        go to state 100    Expr         go to state 145    Call         go to state 88    LValue       go to state 89    IntConstant  go to state 90    Constant     go to state 91state 105   57 PrintStmt: T_Print '(' . NonEmptyActuals ')' ';'    T_Null            shift, and go to state 48    T_This            shift, and go to state 49    T_New             shift, and go to state 55    T_NewArray        shift, and go to state 56    T_ReadInteger     shift, and go to state 58    T_ReadLine        shift, and go to state 59    T_Identifier      shift, and go to state 7    T_StringConstant  shift, and go to state 63    T_IntConstant     shift, and go to state 64    T_DoubleConstant  shift, and go to state 65    T_BoolConstant    shift, and go to state 66    '-'               shift, and go to state 67    '!'               shift, and go to state 68    '('               shift, and go to state 71    Ident            go to state 100    Expr             go to state 146    Call             go to state 88    NonEmptyActuals  go to state 147    LValue           go to state 89    IntConstant      go to state 90    Constant         go to state 91state 106   98 Expr: T_ReadInteger '(' . ')'    ')'  shift, and go to state 148state 107   97 Expr: T_ReadLine '(' . ')'    ')'  shift, and go to state 149state 108   49 TryCatchBlock: T_Try '{' . StmtList '}' CatchBlockList    T_Null            shift, and go to state 48    T_This            shift, and go to state 49    T_While           shift, and go to state 50    T_For             shift, and go to state 51    T_If              shift, and go to state 52    T_Return          shift, and go to state 53    T_Break           shift, and go to state 54    T_New             shift, and go to state 55    T_NewArray        shift, and go to state 56    T_Print           shift, and go to state 57    T_ReadInteger     shift, and go to state 58    T_ReadLine        shift, and go to state 59    T_Try             shift, and go to state 60    T_Throw           shift, and go to state 61    T_Switch          shift, and go to state 62    T_Identifier      shift, and go to state 7    T_StringConstant  shift, and go to state 63    T_IntConstant     shift, and go to state 64    T_DoubleConstant  shift, and go to state 65    T_BoolConstant    shift, and go to state 66    '-'               shift, and go to state 67    '!'               shift, and go to state 68    ';'               shift, and go to state 69    '{'               shift, and go to state 36    '('               shift, and go to state 71    $default  reduce using rule 51 (StmtList)    Ident          go to state 100    StmtBlock      go to state 74    NonEmptySList  go to state 150    Stmt           go to state 77    ThrowStmt      go to state 78    TryCatchBlock  go to state 79    StmtList       go to state 151    PrintStmt      go to state 80    BreakStmt      go to state 81    ReturnStmt     go to state 82    IfStmt         go to state 83    SwitchStmt     go to state 84    WhileStmt      go to state 85    ForStmt        go to state 86    Expr           go to state 87    Call           go to state 88    LValue         go to state 89    IntConstant    go to state 90    Constant       go to state 91state 109   48 ThrowStmt: T_Throw Expr . ';'   77 Expr: Expr . '+' Expr   78     | Expr . '*' Expr   79     | Expr . '/' Expr   80     | Expr . '%' Expr   81     | Expr . '>' Expr   82     | Expr . '<' Expr   84     | Expr . '-' Expr   85     | Expr . T_LessEqual Expr   86     | Expr . T_GreaterEqual Expr   87     | Expr . T_Equal Expr   88     | Expr . T_NotEqual Expr   89     | Expr . T_Or Expr   90     | Expr . T_And Expr  101     | Expr . '?' Expr ':' Expr  103 Call: Expr . '.' Ident '(' Actuals ')'  109 LValue: Expr . '.' Ident  110       | Expr . '[' Expr ']'    T_LessEqual     shift, and go to state 120    T_GreaterEqual  shift, and go to state 121    T_Equal         shift, and go to state 122    T_NotEqual      shift, and go to state 123    T_And           shift, and go to state 124    T_Or            shift, and go to state 125    '?'             shift, and go to state 126    '<'             shift, and go to state 127    '>'             shift, and go to state 128    '-'             shift, and go to state 129    '+'             shift, and go to state 130    '*'             shift, and go to state 131    '/'             shift, and go to state 132    '%'             shift, and go to state 133    '.'             shift, and go to state 134    '['             shift, and go to state 135    ';'             shift, and go to state 152state 110   63 SwitchStmt: T_Switch '(' . Expr ')' SwitchBody    T_Null            shift, and go to state 48    T_This            shift, and go to state 49    T_New             shift, and go to state 55    T_NewArray        shift, and go to state 56    T_ReadInteger     shift, and go to state 58    T_ReadLine        shift, and go to state 59    T_Identifier      shift, and go to state 7    T_StringConstant  shift, and go to state 63    T_IntConstant     shift, and go to state 64    T_DoubleConstant  shift, and go to state 65    T_BoolConstant    shift, and go to state 66    '-'               shift, and go to state 67    '!'               shift, and go to state 68    '('               shift, and go to state 71    Ident        go to state 100    Expr         go to state 153    Call         go to state 88    LValue       go to state 89    IntConstant  go to state 90    Constant     go to state 91state 111   77 Expr: Expr . '+' Expr   78     | Expr . '*' Expr   79     | Expr . '/' Expr   80     | Expr . '%' Expr   81     | Expr . '>' Expr   82     | Expr . '<' Expr   83     | '-' Expr .   84     | Expr . '-' Expr   85     | Expr . T_LessEqual Expr   86     | Expr . T_GreaterEqual Expr   87     | Expr . T_Equal Expr   88     | Expr . T_NotEqual Expr   89     | Expr . T_Or Expr   90     | Expr . T_And Expr  101     | Expr . '?' Expr ':' Expr  103 Call: Expr . '.' Ident '(' Actuals ')'  109 LValue: Expr . '.' Ident  110       | Expr . '[' Expr ']'    '.'  shift, and go to state 134    '['  shift, and go to state 135    $default  reduce using rule 83 (Expr)state 112   77 Expr: Expr . '+' Expr   78     | Expr . '*' Expr   79     | Expr . '/' Expr   80     | Expr . '%' Expr   81     | Expr . '>' Expr   82     | Expr . '<' Expr   84     | Expr . '-' Expr   85     | Expr . T_LessEqual Expr   86     | Expr . T_GreaterEqual Expr   87     | Expr . T_Equal Expr   88     | Expr . T_NotEqual Expr   89     | Expr . T_Or Expr   90     | Expr . T_And Expr   91     | '!' Expr .  101     | Expr . '?' Expr ':' Expr  103 Call: Expr . '.' Ident '(' Actuals ')'  109 LValue: Expr . '.' Ident  110       | Expr . '[' Expr ']'    '.'  shift, and go to state 134    '['  shift, and go to state 135    $default  reduce using rule 91 (Expr)state 113   77 Expr: Expr . '+' Expr   78     | Expr . '*' Expr   79     | Expr . '/' Expr   80     | Expr . '%' Expr   81     | Expr . '>' Expr   82     | Expr . '<' Expr   84     | Expr . '-' Expr   85     | Expr . T_LessEqual Expr   86     | Expr . T_GreaterEqual Expr   87     | Expr . T_Equal Expr   88     | Expr . T_NotEqual Expr   89     | Expr . T_Or Expr   90     | Expr . T_And Expr   92     | '(' Expr . ')'  101     | Expr . '?' Expr ':' Expr  103 Call: Expr . '.' Ident '(' Actuals ')'  109 LValue: Expr . '.' Ident  110       | Expr . '[' Expr ']'    T_LessEqual     shift, and go to state 120    T_GreaterEqual  shift, and go to state 121    T_Equal         shift, and go to state 122    T_NotEqual      shift, and go to state 123    T_And           shift, and go to state 124    T_Or            shift, and go to state 125    '?'             shift, and go to state 126    '<'             shift, and go to state 127    '>'             shift, and go to state 128    '-'             shift, and go to state 129    '+'             shift, and go to state 130    '*'             shift, and go to state 131    '/'             shift, and go to state 132    '%'             shift, and go to state 133    '.'             shift, and go to state 134    '['             shift, and go to state 135    ')'             shift, and go to state 154state 114  102 Call: Ident '(' . Actuals ')'    T_Null            shift, and go to state 48    T_This            shift, and go to state 49    T_New             shift, and go to state 55    T_NewArray        shift, and go to state 56    T_ReadInteger     shift, and go to state 58    T_ReadLine        shift, and go to state 59    T_Identifier      shift, and go to state 7    T_StringConstant  shift, and go to state 63    T_IntConstant     shift, and go to state 64    T_DoubleConstant  shift, and go to state 65    T_BoolConstant    shift, and go to state 66    '-'               shift, and go to state 67    '!'               shift, and go to state 68    '('               shift, and go to state 71    $default  reduce using rule 107 (Actuals)    Ident            go to state 100    Expr             go to state 146    Call             go to state 88    NonEmptyActuals  go to state 155    Actuals          go to state 156    LValue           go to state 89    IntConstant      go to state 90    Constant         go to state 91state 115   29 StmtBlock: '{' NonEmptyVList '}' .    $default  reduce using rule 29 (StmtBlock)state 116   33 NonEmptyVList: NonEmptyVList VariableDecl .    $default  reduce using rule 33 (NonEmptyVList)state 117   28 StmtBlock: '{' NonEmptyVList NonEmptySList . '}'   35 NonEmptySList: NonEmptySList . Stmt    T_Null            shift, and go to state 48    T_This            shift, and go to state 49    T_While           shift, and go to state 50    T_For             shift, and go to state 51    T_If              shift, and go to state 52    T_Return          shift, and go to state 53    T_Break           shift, and go to state 54    T_New             shift, and go to state 55    T_NewArray        shift, and go to state 56    T_Print           shift, and go to state 57    T_ReadInteger     shift, and go to state 58    T_ReadLine        shift, and go to state 59    T_Try             shift, and go to state 60    T_Throw           shift, and go to state 61    T_Switch          shift, and go to state 62    T_Identifier      shift, and go to state 7    T_StringConstant  shift, and go to state 63    T_IntConstant     shift, and go to state 64    T_DoubleConstant  shift, and go to state 65    T_BoolConstant    shift, and go to state 66    '-'               shift, and go to state 67    '!'               shift, and go to state 68    ';'               shift, and go to state 69    '{'               shift, and go to state 36    '}'               shift, and go to state 157    '('               shift, and go to state 71    Ident          go to state 100    StmtBlock      go to state 74    Stmt           go to state 119    ThrowStmt      go to state 78    TryCatchBlock  go to state 79    PrintStmt      go to state 80    BreakStmt      go to state 81    ReturnStmt     go to state 82    IfStmt         go to state 83    SwitchStmt     go to state 84    WhileStmt      go to state 85    ForStmt        go to state 86    Expr           go to state 87    Call           go to state 88    LValue         go to state 89    IntConstant    go to state 90

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -