📄 action-script.tab.c
字号:
/* A Bison parser, made from action-script.y by GNU bison 1.35. */#define YYBISON 1 /* Identify Bison output. */# define STRING 257# define VALUE 258# define BOOLEAN 259# define IDENTIFIER 260# define UNDEFINED 261# define _NULL 262# define _ROOT 263# define _QUALITY 264# define _PARENT 265# define _GLOBAL 266# define _LEVEL 267# define THIS 268# define SUPER 269# define FOR 270# define IF 271# define ELSE 272# define DEFAULT 273# define CASE 274# define GOTO 275# define FINALLY 276# define CATCH 277# define TRY 278# define THROW 279# define RETURN 280# define CONTINUE 281# define BREAK 282# define SWITCH 283# define WITH 284# define IN 285# define DO 286# define WHILE 287# define DELETE 288# define NEW 289# define DECREMENT 290# define INCREMENT 291# define GET 292# define SET 293# define VAR 294# define FUNCTION 295# define STATIC 296# define PUBLIC 297# define PRIVATE 298# define IMPLEMENT 299# define EXTENDS 300# define INTRINSIC 301# define DYNAMIC 302# define CLASS 303# define INTERFACE 304# define IMPORT 305# define ASSIGN 306# define INSTANCE_OF 307# define LOGICAL_OR 308# define LOGICAL_XOR 309# define LOGICAL_AND 310# define EQUAL 311# define EXACTLY_EQUAL 312# define NOT_EQUAL 313# define EXACTLY_NOT_EQUAL 314# define LESS_EQUAL 315# define GREATER_EQUAL 316# define MAX 317# define MIN 318# define SHIFT_LEFT 319# define SHIFT_RIGHT 320# define SHIFT_RIGHT_UNSIGNED 321# define ROTATE_LEFT 322# define ROTATE_RIGHT 323# define POWER 324# define POS 325# define NEG 326# define PRE_INCREMENT 327# define POST_INCREMENT 328# define PRE_DECREMENT 329# define POST_DECREMENT 330# define LIST_SEPARATOR 331#line 1 "action-script.y" /* action-script.y -- written by Alexis WILKE for Made to Order Software, Ltd. (c) 2004-2005 */ /* grammar parser for Action Scripts *//*Copyright (c) 2004-2005 Made to Order Software, Ltd.Permission is hereby granted, free of charge, to anyperson obtaining a copy of this software andassociated documentation files (the "Software"), todeal in the Software without restriction, includingwithout limitation the rights to use, copy, modify,merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whomthe Software is furnished to do so, subject to thefollowing conditions:The above copyright notice and this permission noticeshall be included in all copies or substantialportions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OFANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOTLIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESSFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NOEVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BELIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING FROM, OUT OF OR IN CONNECTION WITH THESOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.*/#include "sswf.h"#define YYPARSE_PARAM resultstatic void yyerror(const char *msg);#line 47 "action-script.y"#ifndef YYSTYPEtypedef union{ struct node_t *node; int unused;} yystype;# define YYSTYPE yystype# define YYSTYPE_IS_TRIVIAL 1#endif#ifndef YYDEBUG# define YYDEBUG 0#endif#define YYFINAL 312#define YYFLAG -32768#define YYNTBASE 103/* YYTRANSLATE(YYLEX) -- Bison token number corresponding to YYLEX. */#define YYTRANSLATE(x) ((unsigned)(x) <= 331 ? yytranslate[x] : 133)/* YYTRANSLATE[YYLEX] -- Bison token number corresponding to YYLEX. */static const char yytranslate[] ={ 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 86, 2, 2, 101, 82, 62, 2, 98, 99, 80, 78, 52, 79, 93, 81, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 55, 95, 67, 100, 69, 54, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 92, 2, 102, 61, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 96, 60, 97, 87, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 53, 56, 57, 58, 59, 63, 64, 65, 66, 68, 70, 71, 72, 73, 74, 75, 76, 77, 83, 84, 85, 88, 89, 90, 91, 94};#if YYDEBUGstatic const short yyprhs[] ={ 0, 0, 2, 4, 6, 8, 11, 15, 17, 21, 25, 29, 37, 44, 46, 49, 52, 53, 56, 57, 60, 61, 63, 65, 68, 71, 74, 76, 78, 80, 82, 86, 94, 103, 112, 114, 117, 121, 124, 126, 130, 135, 136, 139, 144, 149, 153, 156, 159, 162, 165, 168, 171, 174, 177, 181, 186, 192, 195, 199, 203, 207, 211, 215, 219, 223, 227, 231, 235, 239, 243, 247, 251, 255, 259, 263, 267, 271, 275, 279, 283, 287, 291, 295, 299, 303, 307, 311, 317, 321, 325, 327, 329, 331, 333, 335, 337, 339, 341, 343, 345, 347, 349, 351, 352, 354, 356, 360, 364, 366, 370, 374, 378, 381, 382, 384, 387, 391, 398, 404, 412, 422, 431, 437, 445, 448, 451, 455, 459, 462, 469, 472, 476, 479, 481, 484, 486, 487, 490, 492, 495, 500, 504, 505};static const short yyrhs[] ={ 104, 0, 105, 0, 107, 0, 116, 0, 104, 104, 0, 51, 106, 95, 0, 6, 0, 6, 93, 80, 0, 6, 93, 106, 0, 106, 52, 106, 0, 108, 6, 109, 110, 96, 111, 97, 0, 50, 6, 109, 96, 111, 97, 0, 49, 0, 48, 49, 0, 47, 49, 0, 0, 46, 6, 0, 0, 45, 115, 0, 0, 112, 0, 113, 0, 112, 113, 0, 114, 118, 0, 114, 116, 0, 44, 0, 43, 0, 42, 0, 6, 0, 115, 52, 6, 0, 41, 6, 98, 117, 99, 132, 126, 0, 41, 38, 6, 98, 117, 99, 132, 126, 0, 41, 39, 6, 98, 117, 99, 132, 126, 0, 118, 0, 117, 118, 0, 40, 119, 95, 0, 119, 95, 0, 120, 0, 119, 52, 120, 0, 6, 132, 121, 95, 0, 0, 100, 124, 0, 101, 98, 6, 99, 0, 122, 92, 122, 102, 0, 98, 122, 99, 0, 78, 122, 0, 79, 122, 0, 86, 122, 0, 87, 122, 0, 37, 122, 0, 122, 37, 0, 36, 122, 0, 122, 36, 0, 122, 98, 99, 0, 122, 98, 122, 99, 0, 35, 6, 98, 122, 99, 0, 34, 6, 0, 122, 93, 122, 0, 122, 83, 122, 0, 122, 80, 122, 0, 122, 81, 122, 0, 122, 82, 122, 0, 122, 78, 122, 0, 122, 79, 122, 0, 122, 73, 122, 0, 122, 74, 122, 0, 122, 75, 122, 0, 122, 76, 122, 0, 122, 77, 122, 0, 122, 71, 122, 0, 122, 72, 122, 0, 122, 63, 122, 0, 122, 64, 122, 0, 122, 65, 122, 0, 122, 66, 122, 0, 122, 67, 122, 0, 122, 68, 122, 0, 122, 69, 122, 0, 122, 70, 122, 0, 122, 62, 122, 0, 122, 61, 122, 0, 122, 60, 122, 0, 122, 59, 122, 0, 122, 58, 122, 0, 122, 57, 122, 0, 122, 56, 122, 0, 122, 54, 122, 55, 122, 0, 122, 53, 122, 0, 122, 52, 122, 0, 6, 0, 4, 0, 5, 0, 3, 0, 13, 0, 12, 0, 14, 0, 15, 0, 11, 0, 10, 0, 9, 0, 8, 0, 7, 0, 0, 122, 0, 122, 0, 96, 125, 97, 0, 92, 124, 102, 0, 124, 0, 6, 55, 122, 0, 125, 95, 125, 0, 96, 127, 97, 0, 96, 97, 0, 0, 128, 0, 127, 128, 0, 40, 119, 95, 0, 17, 98, 122, 99, 128, 129, 0, 33, 98, 122, 99, 128, 0, 32, 128, 33, 98, 122, 99, 95, 0, 16, 98, 123, 95, 123, 95, 123, 99, 128, 0, 16, 98, 40, 6, 31, 122, 99, 128, 0, 30, 98, 6, 99, 128, 0, 29, 98, 122, 99, 96, 130, 97, 0, 28, 95, 0, 27, 95, 0, 26, 123, 95, 0, 25, 122, 95, 0, 24, 128, 0, 23, 98, 6, 132, 99, 128, 0, 22, 128, 0, 21, 6, 95, 0, 6, 55, 0, 126, 0, 122, 95, 0, 95, 0, 0, 18, 128, 0, 131, 0, 130, 131, 0, 20, 122, 55, 127, 0, 19, 55, 127, 0, 0, 55, 6, 0};#endif#if YYDEBUG/* YYRLINE[YYN] -- source line where rule number YYN was defined. */static const short yyrline[] ={ 0, 98, 104, 108, 111, 114, 119, 125, 129, 132, 135, 140, 144, 149, 153, 156, 161, 165, 170, 174, 179, 183, 188, 192, 197, 201, 206, 210, 213, 218, 222, 227, 231, 234, 239, 243, 248, 252, 257, 261, 266, 272, 276, 282, 287, 290, 293, 296, 299, 302, 305, 308, 311, 314, 317, 320, 323, 326, 329, 332, 335, 338, 341, 344, 347, 350, 353, 356, 359, 362, 365, 368, 371, 374, 377, 380, 383, 386, 389, 392, 395, 398, 401, 404, 407, 410, 413, 416, 419, 432, 435, 439, 442, 446, 449, 452, 455, 458, 461, 464, 467, 470, 473, 478, 482, 488, 492, 495, 500, 504, 507, 512, 516, 521, 522, 525, 530, 534, 537, 540, 543, 546, 549, 552, 555, 558, 561, 564, 567, 570, 573, 578, 583, 586, 589, 592, 597, 601, 606, 610, 615, 619, 624, 628};#endif#if (YYDEBUG) || defined YYERROR_VERBOSE/* YYTNAME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */static const char *const yytname[] ={ "$", "error", "$undefined.", "STRING", "VALUE", "BOOLEAN", "IDENTIFIER", "UNDEFINED", "_NULL", "_ROOT", "_QUALITY", "_PARENT", "_GLOBAL", "_LEVEL", "THIS", "SUPER", "FOR", "IF", "ELSE", "DEFAULT", "CASE", "GOTO", "FINALLY", "CATCH", "TRY", "THROW", "RETURN", "CONTINUE",
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -