Annotation of embedaddon/php/Zend/zend_language_parser.h, revision 1.1.1.3

1.1.1.3 ! misho       1: /* A Bison parser, made by GNU Bison 2.7.  */
1.1       misho       2: 
1.1.1.3 ! misho       3: /* Bison interface for Yacc-like parsers in C
        !             4:    
        !             5:       Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
        !             6:    
        !             7:    This program is free software: you can redistribute it and/or modify
1.1       misho       8:    it under the terms of the GNU General Public License as published by
1.1.1.3 ! misho       9:    the Free Software Foundation, either version 3 of the License, or
        !            10:    (at your option) any later version.
        !            11:    
1.1       misho      12:    This program is distributed in the hope that it will be useful,
                     13:    but WITHOUT ANY WARRANTY; without even the implied warranty of
                     14:    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     15:    GNU General Public License for more details.
1.1.1.3 ! misho      16:    
1.1       misho      17:    You should have received a copy of the GNU General Public License
1.1.1.3 ! misho      18:    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
1.1       misho      19: 
                     20: /* As a special exception, you may create a larger work that contains
                     21:    part or all of the Bison parser skeleton and distribute that work
                     22:    under terms of your choice, so long as that work isn't itself a
                     23:    parser generator using the skeleton or a modified version thereof
                     24:    as a parser skeleton.  Alternatively, if you modify or redistribute
                     25:    the parser skeleton itself, you may (at your option) remove this
                     26:    special exception, which will cause the skeleton and the resulting
                     27:    Bison output files to be licensed under the GNU General Public
                     28:    License without this special exception.
1.1.1.3 ! misho      29:    
1.1       misho      30:    This special exception was added by the Free Software Foundation in
                     31:    version 2.2 of Bison.  */
                     32: 
1.1.1.3 ! misho      33: #ifndef YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED
        !            34: # define YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED
        !            35: /* Enabling traces.  */
        !            36: #ifndef YYDEBUG
        !            37: # define YYDEBUG 0
        !            38: #endif
        !            39: #if YYDEBUG
        !            40: extern int zenddebug;
        !            41: #endif
        !            42: /* "%code requires" blocks.  */
        !            43: 
        !            44: 
        !            45: #ifdef ZTS
        !            46: # define YYPARSE_PARAM tsrm_ls
        !            47: # define YYLEX_PARAM tsrm_ls
        !            48: #endif
        !            49: 
        !            50: 
        !            51: 
        !            52: 
1.1       misho      53: /* Tokens.  */
                     54: #ifndef YYTOKENTYPE
                     55: # define YYTOKENTYPE
                     56:    /* Put the tokens into the symbol table, so that GDB and other debuggers
                     57:       know about them.  */
                     58:    enum yytokentype {
1.1.1.2   misho      59:      END = 0,
1.1       misho      60:      T_REQUIRE_ONCE = 258,
                     61:      T_REQUIRE = 259,
                     62:      T_EVAL = 260,
                     63:      T_INCLUDE_ONCE = 261,
                     64:      T_INCLUDE = 262,
                     65:      T_LOGICAL_OR = 263,
                     66:      T_LOGICAL_XOR = 264,
                     67:      T_LOGICAL_AND = 265,
                     68:      T_PRINT = 266,
                     69:      T_SR_EQUAL = 267,
                     70:      T_SL_EQUAL = 268,
                     71:      T_XOR_EQUAL = 269,
                     72:      T_OR_EQUAL = 270,
                     73:      T_AND_EQUAL = 271,
                     74:      T_MOD_EQUAL = 272,
                     75:      T_CONCAT_EQUAL = 273,
                     76:      T_DIV_EQUAL = 274,
                     77:      T_MUL_EQUAL = 275,
                     78:      T_MINUS_EQUAL = 276,
                     79:      T_PLUS_EQUAL = 277,
                     80:      T_BOOLEAN_OR = 278,
                     81:      T_BOOLEAN_AND = 279,
                     82:      T_IS_NOT_IDENTICAL = 280,
                     83:      T_IS_IDENTICAL = 281,
                     84:      T_IS_NOT_EQUAL = 282,
                     85:      T_IS_EQUAL = 283,
                     86:      T_IS_GREATER_OR_EQUAL = 284,
                     87:      T_IS_SMALLER_OR_EQUAL = 285,
                     88:      T_SR = 286,
                     89:      T_SL = 287,
                     90:      T_INSTANCEOF = 288,
                     91:      T_UNSET_CAST = 289,
                     92:      T_BOOL_CAST = 290,
                     93:      T_OBJECT_CAST = 291,
                     94:      T_ARRAY_CAST = 292,
                     95:      T_STRING_CAST = 293,
                     96:      T_DOUBLE_CAST = 294,
                     97:      T_INT_CAST = 295,
                     98:      T_DEC = 296,
                     99:      T_INC = 297,
                    100:      T_CLONE = 298,
                    101:      T_NEW = 299,
                    102:      T_EXIT = 300,
                    103:      T_IF = 301,
                    104:      T_ELSEIF = 302,
                    105:      T_ELSE = 303,
                    106:      T_ENDIF = 304,
                    107:      T_LNUMBER = 305,
                    108:      T_DNUMBER = 306,
                    109:      T_STRING = 307,
                    110:      T_STRING_VARNAME = 308,
                    111:      T_VARIABLE = 309,
                    112:      T_NUM_STRING = 310,
                    113:      T_INLINE_HTML = 311,
                    114:      T_CHARACTER = 312,
                    115:      T_BAD_CHARACTER = 313,
                    116:      T_ENCAPSED_AND_WHITESPACE = 314,
                    117:      T_CONSTANT_ENCAPSED_STRING = 315,
                    118:      T_ECHO = 316,
                    119:      T_DO = 317,
                    120:      T_WHILE = 318,
                    121:      T_ENDWHILE = 319,
                    122:      T_FOR = 320,
                    123:      T_ENDFOR = 321,
                    124:      T_FOREACH = 322,
                    125:      T_ENDFOREACH = 323,
                    126:      T_DECLARE = 324,
                    127:      T_ENDDECLARE = 325,
                    128:      T_AS = 326,
                    129:      T_SWITCH = 327,
                    130:      T_ENDSWITCH = 328,
                    131:      T_CASE = 329,
                    132:      T_DEFAULT = 330,
                    133:      T_BREAK = 331,
                    134:      T_CONTINUE = 332,
                    135:      T_GOTO = 333,
                    136:      T_FUNCTION = 334,
                    137:      T_CONST = 335,
                    138:      T_RETURN = 336,
                    139:      T_TRY = 337,
                    140:      T_CATCH = 338,
                    141:      T_THROW = 339,
                    142:      T_USE = 340,
1.1.1.2   misho     143:      T_INSTEADOF = 341,
                    144:      T_GLOBAL = 342,
                    145:      T_PUBLIC = 343,
                    146:      T_PROTECTED = 344,
                    147:      T_PRIVATE = 345,
                    148:      T_FINAL = 346,
                    149:      T_ABSTRACT = 347,
                    150:      T_STATIC = 348,
                    151:      T_VAR = 349,
                    152:      T_UNSET = 350,
                    153:      T_ISSET = 351,
                    154:      T_EMPTY = 352,
                    155:      T_HALT_COMPILER = 353,
                    156:      T_CLASS = 354,
                    157:      T_TRAIT = 355,
                    158:      T_INTERFACE = 356,
                    159:      T_EXTENDS = 357,
                    160:      T_IMPLEMENTS = 358,
                    161:      T_OBJECT_OPERATOR = 359,
                    162:      T_DOUBLE_ARROW = 360,
                    163:      T_LIST = 361,
                    164:      T_ARRAY = 362,
                    165:      T_CALLABLE = 363,
                    166:      T_CLASS_C = 364,
                    167:      T_TRAIT_C = 365,
                    168:      T_METHOD_C = 366,
                    169:      T_FUNC_C = 367,
                    170:      T_LINE = 368,
                    171:      T_FILE = 369,
                    172:      T_COMMENT = 370,
                    173:      T_DOC_COMMENT = 371,
                    174:      T_OPEN_TAG = 372,
                    175:      T_OPEN_TAG_WITH_ECHO = 373,
                    176:      T_CLOSE_TAG = 374,
                    177:      T_WHITESPACE = 375,
                    178:      T_START_HEREDOC = 376,
                    179:      T_END_HEREDOC = 377,
                    180:      T_DOLLAR_OPEN_CURLY_BRACES = 378,
                    181:      T_CURLY_OPEN = 379,
                    182:      T_PAAMAYIM_NEKUDOTAYIM = 380,
                    183:      T_NAMESPACE = 381,
                    184:      T_NS_C = 382,
                    185:      T_DIR = 383,
                    186:      T_NS_SEPARATOR = 384
1.1       misho     187:    };
                    188: #endif
                    189: /* Tokens.  */
1.1.1.2   misho     190: #define END 0
1.1       misho     191: #define T_REQUIRE_ONCE 258
                    192: #define T_REQUIRE 259
                    193: #define T_EVAL 260
                    194: #define T_INCLUDE_ONCE 261
                    195: #define T_INCLUDE 262
                    196: #define T_LOGICAL_OR 263
                    197: #define T_LOGICAL_XOR 264
                    198: #define T_LOGICAL_AND 265
                    199: #define T_PRINT 266
                    200: #define T_SR_EQUAL 267
                    201: #define T_SL_EQUAL 268
                    202: #define T_XOR_EQUAL 269
                    203: #define T_OR_EQUAL 270
                    204: #define T_AND_EQUAL 271
                    205: #define T_MOD_EQUAL 272
                    206: #define T_CONCAT_EQUAL 273
                    207: #define T_DIV_EQUAL 274
                    208: #define T_MUL_EQUAL 275
                    209: #define T_MINUS_EQUAL 276
                    210: #define T_PLUS_EQUAL 277
                    211: #define T_BOOLEAN_OR 278
                    212: #define T_BOOLEAN_AND 279
                    213: #define T_IS_NOT_IDENTICAL 280
                    214: #define T_IS_IDENTICAL 281
                    215: #define T_IS_NOT_EQUAL 282
                    216: #define T_IS_EQUAL 283
                    217: #define T_IS_GREATER_OR_EQUAL 284
                    218: #define T_IS_SMALLER_OR_EQUAL 285
                    219: #define T_SR 286
                    220: #define T_SL 287
                    221: #define T_INSTANCEOF 288
                    222: #define T_UNSET_CAST 289
                    223: #define T_BOOL_CAST 290
                    224: #define T_OBJECT_CAST 291
                    225: #define T_ARRAY_CAST 292
                    226: #define T_STRING_CAST 293
                    227: #define T_DOUBLE_CAST 294
                    228: #define T_INT_CAST 295
                    229: #define T_DEC 296
                    230: #define T_INC 297
                    231: #define T_CLONE 298
                    232: #define T_NEW 299
                    233: #define T_EXIT 300
                    234: #define T_IF 301
                    235: #define T_ELSEIF 302
                    236: #define T_ELSE 303
                    237: #define T_ENDIF 304
                    238: #define T_LNUMBER 305
                    239: #define T_DNUMBER 306
                    240: #define T_STRING 307
                    241: #define T_STRING_VARNAME 308
                    242: #define T_VARIABLE 309
                    243: #define T_NUM_STRING 310
                    244: #define T_INLINE_HTML 311
                    245: #define T_CHARACTER 312
                    246: #define T_BAD_CHARACTER 313
                    247: #define T_ENCAPSED_AND_WHITESPACE 314
                    248: #define T_CONSTANT_ENCAPSED_STRING 315
                    249: #define T_ECHO 316
                    250: #define T_DO 317
                    251: #define T_WHILE 318
                    252: #define T_ENDWHILE 319
                    253: #define T_FOR 320
                    254: #define T_ENDFOR 321
                    255: #define T_FOREACH 322
                    256: #define T_ENDFOREACH 323
                    257: #define T_DECLARE 324
                    258: #define T_ENDDECLARE 325
                    259: #define T_AS 326
                    260: #define T_SWITCH 327
                    261: #define T_ENDSWITCH 328
                    262: #define T_CASE 329
                    263: #define T_DEFAULT 330
                    264: #define T_BREAK 331
                    265: #define T_CONTINUE 332
                    266: #define T_GOTO 333
                    267: #define T_FUNCTION 334
                    268: #define T_CONST 335
                    269: #define T_RETURN 336
                    270: #define T_TRY 337
                    271: #define T_CATCH 338
                    272: #define T_THROW 339
                    273: #define T_USE 340
1.1.1.2   misho     274: #define T_INSTEADOF 341
                    275: #define T_GLOBAL 342
                    276: #define T_PUBLIC 343
                    277: #define T_PROTECTED 344
                    278: #define T_PRIVATE 345
                    279: #define T_FINAL 346
                    280: #define T_ABSTRACT 347
                    281: #define T_STATIC 348
                    282: #define T_VAR 349
                    283: #define T_UNSET 350
                    284: #define T_ISSET 351
                    285: #define T_EMPTY 352
                    286: #define T_HALT_COMPILER 353
                    287: #define T_CLASS 354
                    288: #define T_TRAIT 355
                    289: #define T_INTERFACE 356
                    290: #define T_EXTENDS 357
                    291: #define T_IMPLEMENTS 358
                    292: #define T_OBJECT_OPERATOR 359
                    293: #define T_DOUBLE_ARROW 360
                    294: #define T_LIST 361
                    295: #define T_ARRAY 362
                    296: #define T_CALLABLE 363
                    297: #define T_CLASS_C 364
                    298: #define T_TRAIT_C 365
                    299: #define T_METHOD_C 366
                    300: #define T_FUNC_C 367
                    301: #define T_LINE 368
                    302: #define T_FILE 369
                    303: #define T_COMMENT 370
                    304: #define T_DOC_COMMENT 371
                    305: #define T_OPEN_TAG 372
                    306: #define T_OPEN_TAG_WITH_ECHO 373
                    307: #define T_CLOSE_TAG 374
                    308: #define T_WHITESPACE 375
                    309: #define T_START_HEREDOC 376
                    310: #define T_END_HEREDOC 377
                    311: #define T_DOLLAR_OPEN_CURLY_BRACES 378
                    312: #define T_CURLY_OPEN 379
                    313: #define T_PAAMAYIM_NEKUDOTAYIM 380
                    314: #define T_NAMESPACE 381
                    315: #define T_NS_C 382
                    316: #define T_DIR 383
                    317: #define T_NS_SEPARATOR 384
1.1       misho     318: 
                    319: 
                    320: 
                    321: #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
                    322: typedef int YYSTYPE;
1.1.1.3 ! misho     323: # define YYSTYPE_IS_TRIVIAL 1
1.1       misho     324: # define yystype YYSTYPE /* obsolescent; will be withdrawn */
                    325: # define YYSTYPE_IS_DECLARED 1
                    326: #endif
                    327: 
                    328: 
1.1.1.3 ! misho     329: #ifdef YYPARSE_PARAM
        !           330: #if defined __STDC__ || defined __cplusplus
        !           331: int zendparse (void *YYPARSE_PARAM);
        !           332: #else
        !           333: int zendparse ();
        !           334: #endif
        !           335: #else /* ! YYPARSE_PARAM */
        !           336: #if defined __STDC__ || defined __cplusplus
        !           337: int zendparse (void);
        !           338: #else
        !           339: int zendparse ();
        !           340: #endif
        !           341: #endif /* ! YYPARSE_PARAM */
1.1       misho     342: 
1.1.1.3 ! misho     343: #endif /* !YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED  */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>