📄 mql.tab.cpp
字号:
132, 137, 141, 146, 153, 157, 164, 165, 174, 178, 185, 186, 190, 199, 203, 210, 214, 222, 223, 228, 229, 230, 231, 236, 237, 241, 245, 249, 253, 257, 261, 265, 269, 276, 277, 278, 279, 280, 281, 285, 289, 293, 298, 306, 310, 318, 322, 326, 333, 335, 339, 347, 349, 351, 353, 355, 359, 360, 364, 368, 370, 372, 374, 378, 383, 388, 392, 396, 400, 404, 408, 412, 416, 420, 424, 428, 432, 436, 440, 444, 448, 452, 456, 460, 464, 468, 472, 476, 480, 485, 489, 494, 498, 503, 507, 512, 516, 520, 524, 528, 532, 536, 540, 547, 548, 549, 551, 556, 557, 559, 561, 566, 567, 569, 574, 575, 577, 582, 583, 585, 587, 589, 594, 595, 597, 602, 603, 608, 609, 614, 615, 620, 621, 626, 627, 632, 633, 640};#endif#if YYDEBUG || YYERROR_VERBOSE/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. First, the terminals, then, starting at YYNTOKENS, nonterminals. */static const char *const yytname[] ={ "$end", "error", "$undefined", "IDENTIFIER", "STRING_LITERAL", "INT_CONSTANT", "DOUBLE_CONSTANT", "INT", "DOUBLE", "STRING", "IF", "ELSE", "AND_OP", "OR_OP", "LEFT_OP", "RIGHT_OP", "LE_OP", "GE_OP", "SIN", "COS", "POW", "PRINT", "ROUND", "CEIL", "FLOOR", "EQ_OP", "NE_OP", "WHILE", "VOID", "DBL", "TAN", "ASIN", "ACOS", "ATAN", "CONTINUE", "BREAK", "RETURN", "STRUCT", "RPC", "ARRAY_SIZE", "LOG_OP", "EXP", "DNS_LOOKUP", "DNS_ADDR", "GET_SELF", "RING_GT", "RING_GE", "RING_LT", "RING_LE", "GET_DISTANCE_TCP", "GET_DISTANCE_DNS", "GET_DISTANCE_PING", "PUSH_BACK", "POP_BACK", "ARRAY_INTERSECT", "FOR", "PRINTLN", "ARRAY_AVG", "ARRAY_MAX", "ARRAY_MIN", "ARRAY_MAX_OFFSET", "ARRAY_MIN_OFFSET", "ARRAY_UNION", "GET_DISTANCE_ICMP", "'('", "')'", "'{'", "'}'", "'['", "']'", "';'", "','", "'='", "'.'", "'+'", "'-'", "'!'", "'*'", "'/'", "'%'", "'<'", "'>'", "'&'", "'^'", "'|'", "$accept", "start_state", "input_state", "global_declaration", "parameter", "parameter_array_fixed", "parameter_list", "parameter_adt", "parameter_sep", "expression_sep", "statement_list", "type", "declaration_statement", "statement", "jump_statement", "iteration_statement", "selection_statement", "expression_statement", "compound_statement", "primary_expression", "postfix_expression", "unary_expression", "multiplicative_expression", "additive_expression", "shift_expression", "relational_expression", "equality_expression", "and_expression", "exclusive_or_expression", "inclusive_or_expression", "logical_and_expression", "logical_or_expression", "assign_expression", "expression", 0};#endif# ifdef YYPRINT/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to token YYLEX-NUM. */static const unsigned short int yytoknum[] ={ 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 40, 41, 123, 125, 91, 93, 59, 44, 61, 46, 43, 45, 33, 42, 47, 37, 60, 62, 38, 94, 124};# endif/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */static const unsigned char yyr1[] ={ 0, 85, 86, 87, 87, 88, 88, 88, 88, 88, 88, 88, 88, 88, 89, 89, 90, 90, 91, 91, 92, 92, 92, 93, 93, 94, 94, 95, 95, 96, 96, 96, 96, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 98, 98, 98, 98, 98, 98, 99, 99, 99, 99, 100, 100, 101, 101, 101, 102, 102, 103, 104, 104, 104, 104, 104, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 106, 106, 106, 106, 107, 107, 107, 107, 108, 108, 108, 109, 109, 109, 110, 110, 110, 110, 110, 111, 111, 111, 112, 112, 113, 113, 114, 114, 115, 115, 116, 116, 117, 117, 118};/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */static const unsigned char yyr2[] ={ 0, 2, 1, 0, 2, 8, 7, 8, 7, 10, 9, 10, 9, 6, 2, 4, 1, 5, 2, 3, 1, 2, 4, 1, 3, 1, 3, 0, 2, 1, 1, 1, 1, 2, 6, 6, 5, 5, 7, 7, 9, 7, 9, 1, 1, 1, 1, 1, 1, 2, 2, 3, 2, 5, 7, 5, 7, 7, 1, 2, 3, 1, 1, 1, 1, 3, 1, 3, 4, 4, 4, 4, 3, 8, 6, 4, 4, 4, 4, 4, 6, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 4, 4, 4, 4, 6, 4, 6, 8, 6, 8, 6, 8, 6, 8, 6, 4, 4, 4, 4, 4, 6, 1, 2, 2, 2, 1, 3, 3, 3, 1, 3, 3, 1, 3, 3, 1, 3, 3, 3, 3, 1, 3, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1};/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state STATE-NUM when YYTABLE doesn't specify something else to do. Zero means the default is an error. */static const unsigned char yydefact[] ={ 3, 0, 2, 1, 0, 29, 30, 31, 32, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 23, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 21, 27, 0, 0, 14, 0, 18, 0, 0, 14, 27, 0, 0, 0, 0, 27, 24, 0, 0, 0, 13, 19, 0, 0, 27, 0, 0, 22, 61, 64, 62, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 27, 6, 58, 0, 0, 0, 0, 0, 46, 28, 48, 47, 44, 45, 43, 66, 113, 117, 121, 124, 127, 132, 135, 137, 139, 141, 143, 145, 147, 0, 0, 15, 27, 0, 0, 8, 0, 27, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 50, 61, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 114, 115, 116, 33, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 5, 0, 27, 17, 7, 0, 27, 0, 0, 72, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 60, 0, 0, 0, 146, 67, 113, 118, 119, 120, 122, 123, 125, 126, 130, 131, 128, 129, 133, 134, 136, 138, 140, 142, 144, 10, 0, 12, 0, 22, 0, 0, 0, 71, 0, 0, 78, 79, 0, 69, 75, 76, 77, 0, 81, 82, 83, 84, 85, 0, 86, 87, 88, 89, 90, 92, 93, 94, 95, 0, 0, 0, 0, 97, 0, 0, 70, 107, 109, 108, 111, 110, 0, 0, 15, 0, 0, 68, 9, 11, 0, 0, 0, 37, 26, 55, 0, 53, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 0, 0, 35, 0, 0, 80, 74, 0, 98, 0, 100, 0, 102, 0, 96, 106, 0, 112, 104, 0, 0, 0, 34, 0, 41, 38, 57, 56, 0, 0, 0, 0, 54, 0, 0, 39, 0, 73, 99, 101, 103, 105, 0, 42, 40};/* YYDEFGOTO[NTERM-NUM]. */static const short int yydefgoto[] ={ -1, 1, 2, 10, 24, 30, 31, 118, 26, 237, 50, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141};/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */#define YYPACT_NINF -281static const short int yypact[] ={ -281, 50, 21, -281, 17, -281, -281, -281, -281, 8, -281, 18, -41, 45, -7, 52, 92, 115, 116, 32, 149, 178, 183, 139, -281, -281, -56, 203, 144, -281, 140, -3, 209, 166, -55, 169, 173, -281, 170, 187, 174, 156, -281, 164, 175, 179, -281, 177, 159, 180, 315, -281, -281, 181, 182, -53, -281, -281, -2, 389, -281, 185, -28, -281, 23, -281, -281, -281, 188, 189, 190, 191, 196, 199, 200, 201, 202, 204, 207, 208, 210, 211, 197, 206, 1055, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 231, 232, 234, 235, 236, 237, 238, 239, 241, 243, 1558, -281, -281, -281, 1620, 1620, 1620, 242, 270, -281, -281, -281, -281, -281, -281, -281, -281, 76, -281, 68, 80, 155, -15, 176, 162, 163, 230, 297, 298, -281, 245, 463, -281, -281, 247, 257, -281, 537, -281, 261, 103, 1117, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, -281, -281, 264, -281, 259, 1558, 1558, 1558, 1558, 1558, 1558, 265, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 981, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 266, 611, -60, -60, -60, -281, 104, 1558, 1558, 329, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, 1558, -281, -281, 685, -281, -281, -281, 759, -281, 1180, 1242, -281, -20, -281, 275, 276, 287, 309, 318, 319, 321, 322, 323, 335, 336, 337, 338, 339, -281, 334, 341, 349, 350, 361, 392, -281, 393, 395, 396, 397, 383, 403, 404, 405, 412, 407, 1306, 414, 415, 423, 424, 435, 466, 457, 461, -281, -281, 1368, 1558, 465, -281, -281, -60, -281, -281, -281, 68, 68, 80, 80, 155, 155, 155, 155, -15, -15, -15, 162, 163, 230, 297, -281, 833, -281, 907, 464, 479, 1558, 480, -281, 1558, 469, -281, -281, 1558, -281, -281, -281, -281, 469, -281, -281, -281, -281, -281, 546, -281, -281, -281, -281, -281, -281, -281, -281, -281, 1558, 1558, 1558, 1558, -281, 1558, 1558, -281, -281, -281, -281, -281, -281, 1558, 1558, 481, 482, 484, -281, -281, -281, 1430, 492, 111, -281, -281, 541, 498, -281, -19, -18, -17, -10, 509, 540, 543, 544, -9, 1494, 532, -281, 1558, 536, -281, 552, 28, -281, -281, 1558, -281, 1558, -281, 1558, -281, 1558, -281, -281, 469, -281, -281, 1558, 1558, 553, -281, 112, -281, -281, -281, -281, -8, 545, 559, 560, -281, 561, 126, -281, 557, -281, -281, -281, -281, -281, 558, -281, -281};/* YYPGOTO[NTERM-NUM]. */static const short int yypgoto[] ={ -281, -281, -281, -281, -12, 605, -281, 168, -6, -228, -29, 172, -281, 448, -281, -281, 263, 408, -280, -281, -83, 9, 11, 16, 22, 6, -281, 454, 459, 456, 458, -281, 478, -84};/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which number is the opposite. If zero, do what YYDEFACT says. If YYTABLE_NINF, syntax error. */#define YYTABLE_NINF -1static const unsigned short int yytable[] ={ 171, 215, 216, 146, 5, 6, 7, 29, 205, 38, 47, 14, 145, 207, 34, 39, 39, 59, 39, 29, 12, 15, 142, 17, 4, 8, 151, 198, 5, 6, 7, 148, 200, 201, 202, 55, 366, 150, 68, 5, 6, 7, 62, 39, 368, 314, 387, 389, 391, 8, 3, 315, 388, 390, 392, 393, 399, 418, 9, 19, 8, 394, 400, 315, 43, 217, 218, 143, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 199, 363, 13, 16, 152, 254, 255, 256, 257, 258, 259, 112, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 408, 272, 273, 274, 275, 276, 277, 278, 279, 18, 228, 20, 413, 22, 28, 232, 284, 5, 6, 7, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 287, 8, 205, 208, 209, 210, 206, 207, 311, 313, 22, 404, 211, 212, 5, 6, 7, 22, 409, 21, 22, 5, 6, 7, 5, 6, 7, 213, 214, 234, 282, 415, 11, 235, 283, 8, 384, 417, 23, 35, 315, 315, 8, 25, 36, 8, 25, 27, 22, 32, 27, 423, 5, 6, 7, 315, 356, 357, 307, 219, 220, 32, 309, 37, 40, 52, 41, 25, 42, 27, 45, 27, 33, 8, 25, 288, 289, 290, 27, 54, 291, 292, 61, 299, 300, 301, 238, 293, 294, 365, 46, 48, 56, 367, 51, 295, 296, 297, 298, 49, 53, 60, 221, 57, 222, 58, 144, 63, 143, 149, 153, 154, 155, 156, 370, 371, 372, 373, 157, 374, 375, 158, 159, 160, 161, 167, 162, 376, 377, 163, 164, 204, 165, 166, 168, 382, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 402, 188, 189, 238, 190, 191, 192, 193, 194, 195, 238, 196, 410, 197, 411, 224, 412, 225, 203, 229, 223, 226, 414, 238, 64, 65, 66, 67, 5, 6, 7, 68, 230, 233, 152, 253, 260, 280, 286, 69, 70, 71, 72, 73, 74, 75, 316, 317, 76, 8, 77, 78, 79, 80, 81, 82, 83, 84, 318, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -