diff options
Diffstat (limited to 'Zend/zend_language_parser.h')
-rw-r--r-- | Zend/zend_language_parser.h | 313 |
1 files changed, 313 insertions, 0 deletions
diff --git a/Zend/zend_language_parser.h b/Zend/zend_language_parser.h new file mode 100644 index 0000000..152ff00 --- /dev/null +++ b/Zend/zend_language_parser.h @@ -0,0 +1,313 @@ +/* A Bison parser, made by GNU Bison 2.3. */ + +/* Skeleton interface for Bison's Yacc-like parsers in C + + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 + Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + END = 0, + T_REQUIRE_ONCE = 258, + T_REQUIRE = 259, + T_EVAL = 260, + T_INCLUDE_ONCE = 261, + T_INCLUDE = 262, + T_LOGICAL_OR = 263, + T_LOGICAL_XOR = 264, + T_LOGICAL_AND = 265, + T_PRINT = 266, + T_SR_EQUAL = 267, + T_SL_EQUAL = 268, + T_XOR_EQUAL = 269, + T_OR_EQUAL = 270, + T_AND_EQUAL = 271, + T_MOD_EQUAL = 272, + T_CONCAT_EQUAL = 273, + T_DIV_EQUAL = 274, + T_MUL_EQUAL = 275, + T_MINUS_EQUAL = 276, + T_PLUS_EQUAL = 277, + T_BOOLEAN_OR = 278, + T_BOOLEAN_AND = 279, + T_IS_NOT_IDENTICAL = 280, + T_IS_IDENTICAL = 281, + T_IS_NOT_EQUAL = 282, + T_IS_EQUAL = 283, + T_IS_GREATER_OR_EQUAL = 284, + T_IS_SMALLER_OR_EQUAL = 285, + T_SR = 286, + T_SL = 287, + T_INSTANCEOF = 288, + T_UNSET_CAST = 289, + T_BOOL_CAST = 290, + T_OBJECT_CAST = 291, + T_ARRAY_CAST = 292, + T_STRING_CAST = 293, + T_DOUBLE_CAST = 294, + T_INT_CAST = 295, + T_DEC = 296, + T_INC = 297, + T_CLONE = 298, + T_NEW = 299, + T_EXIT = 300, + T_IF = 301, + T_ELSEIF = 302, + T_ELSE = 303, + T_ENDIF = 304, + T_LNUMBER = 305, + T_DNUMBER = 306, + T_STRING = 307, + T_STRING_VARNAME = 308, + T_VARIABLE = 309, + T_NUM_STRING = 310, + T_INLINE_HTML = 311, + T_CHARACTER = 312, + T_BAD_CHARACTER = 313, + T_ENCAPSED_AND_WHITESPACE = 314, + T_CONSTANT_ENCAPSED_STRING = 315, + T_ECHO = 316, + T_DO = 317, + T_WHILE = 318, + T_ENDWHILE = 319, + T_FOR = 320, + T_ENDFOR = 321, + T_FOREACH = 322, + T_ENDFOREACH = 323, + T_DECLARE = 324, + T_ENDDECLARE = 325, + T_AS = 326, + T_SWITCH = 327, + T_ENDSWITCH = 328, + T_CASE = 329, + T_DEFAULT = 330, + T_BREAK = 331, + T_CONTINUE = 332, + T_GOTO = 333, + T_FUNCTION = 334, + T_CONST = 335, + T_RETURN = 336, + T_TRY = 337, + T_CATCH = 338, + T_THROW = 339, + T_USE = 340, + T_INSTEADOF = 341, + T_GLOBAL = 342, + T_PUBLIC = 343, + T_PROTECTED = 344, + T_PRIVATE = 345, + T_FINAL = 346, + T_ABSTRACT = 347, + T_STATIC = 348, + T_VAR = 349, + T_UNSET = 350, + T_ISSET = 351, + T_EMPTY = 352, + T_HALT_COMPILER = 353, + T_CLASS = 354, + T_TRAIT = 355, + T_INTERFACE = 356, + T_EXTENDS = 357, + T_IMPLEMENTS = 358, + T_OBJECT_OPERATOR = 359, + T_DOUBLE_ARROW = 360, + T_LIST = 361, + T_ARRAY = 362, + T_CALLABLE = 363, + T_CLASS_C = 364, + T_TRAIT_C = 365, + T_METHOD_C = 366, + T_FUNC_C = 367, + T_LINE = 368, + T_FILE = 369, + T_COMMENT = 370, + T_DOC_COMMENT = 371, + T_OPEN_TAG = 372, + T_OPEN_TAG_WITH_ECHO = 373, + T_CLOSE_TAG = 374, + T_WHITESPACE = 375, + T_START_HEREDOC = 376, + T_END_HEREDOC = 377, + T_DOLLAR_OPEN_CURLY_BRACES = 378, + T_CURLY_OPEN = 379, + T_PAAMAYIM_NEKUDOTAYIM = 380, + T_NAMESPACE = 381, + T_NS_C = 382, + T_DIR = 383, + T_NS_SEPARATOR = 384 + }; +#endif +/* Tokens. */ +#define END 0 +#define T_REQUIRE_ONCE 258 +#define T_REQUIRE 259 +#define T_EVAL 260 +#define T_INCLUDE_ONCE 261 +#define T_INCLUDE 262 +#define T_LOGICAL_OR 263 +#define T_LOGICAL_XOR 264 +#define T_LOGICAL_AND 265 +#define T_PRINT 266 +#define T_SR_EQUAL 267 +#define T_SL_EQUAL 268 +#define T_XOR_EQUAL 269 +#define T_OR_EQUAL 270 +#define T_AND_EQUAL 271 +#define T_MOD_EQUAL 272 +#define T_CONCAT_EQUAL 273 +#define T_DIV_EQUAL 274 +#define T_MUL_EQUAL 275 +#define T_MINUS_EQUAL 276 +#define T_PLUS_EQUAL 277 +#define T_BOOLEAN_OR 278 +#define T_BOOLEAN_AND 279 +#define T_IS_NOT_IDENTICAL 280 +#define T_IS_IDENTICAL 281 +#define T_IS_NOT_EQUAL 282 +#define T_IS_EQUAL 283 +#define T_IS_GREATER_OR_EQUAL 284 +#define T_IS_SMALLER_OR_EQUAL 285 +#define T_SR 286 +#define T_SL 287 +#define T_INSTANCEOF 288 +#define T_UNSET_CAST 289 +#define T_BOOL_CAST 290 +#define T_OBJECT_CAST 291 +#define T_ARRAY_CAST 292 +#define T_STRING_CAST 293 +#define T_DOUBLE_CAST 294 +#define T_INT_CAST 295 +#define T_DEC 296 +#define T_INC 297 +#define T_CLONE 298 +#define T_NEW 299 +#define T_EXIT 300 +#define T_IF 301 +#define T_ELSEIF 302 +#define T_ELSE 303 +#define T_ENDIF 304 +#define T_LNUMBER 305 +#define T_DNUMBER 306 +#define T_STRING 307 +#define T_STRING_VARNAME 308 +#define T_VARIABLE 309 +#define T_NUM_STRING 310 +#define T_INLINE_HTML 311 +#define T_CHARACTER 312 +#define T_BAD_CHARACTER 313 +#define T_ENCAPSED_AND_WHITESPACE 314 +#define T_CONSTANT_ENCAPSED_STRING 315 +#define T_ECHO 316 +#define T_DO 317 +#define T_WHILE 318 +#define T_ENDWHILE 319 +#define T_FOR 320 +#define T_ENDFOR 321 +#define T_FOREACH 322 +#define T_ENDFOREACH 323 +#define T_DECLARE 324 +#define T_ENDDECLARE 325 +#define T_AS 326 +#define T_SWITCH 327 +#define T_ENDSWITCH 328 +#define T_CASE 329 +#define T_DEFAULT 330 +#define T_BREAK 331 +#define T_CONTINUE 332 +#define T_GOTO 333 +#define T_FUNCTION 334 +#define T_CONST 335 +#define T_RETURN 336 +#define T_TRY 337 +#define T_CATCH 338 +#define T_THROW 339 +#define T_USE 340 +#define T_INSTEADOF 341 +#define T_GLOBAL 342 +#define T_PUBLIC 343 +#define T_PROTECTED 344 +#define T_PRIVATE 345 +#define T_FINAL 346 +#define T_ABSTRACT 347 +#define T_STATIC 348 +#define T_VAR 349 +#define T_UNSET 350 +#define T_ISSET 351 +#define T_EMPTY 352 +#define T_HALT_COMPILER 353 +#define T_CLASS 354 +#define T_TRAIT 355 +#define T_INTERFACE 356 +#define T_EXTENDS 357 +#define T_IMPLEMENTS 358 +#define T_OBJECT_OPERATOR 359 +#define T_DOUBLE_ARROW 360 +#define T_LIST 361 +#define T_ARRAY 362 +#define T_CALLABLE 363 +#define T_CLASS_C 364 +#define T_TRAIT_C 365 +#define T_METHOD_C 366 +#define T_FUNC_C 367 +#define T_LINE 368 +#define T_FILE 369 +#define T_COMMENT 370 +#define T_DOC_COMMENT 371 +#define T_OPEN_TAG 372 +#define T_OPEN_TAG_WITH_ECHO 373 +#define T_CLOSE_TAG 374 +#define T_WHITESPACE 375 +#define T_START_HEREDOC 376 +#define T_END_HEREDOC 377 +#define T_DOLLAR_OPEN_CURLY_BRACES 378 +#define T_CURLY_OPEN 379 +#define T_PAAMAYIM_NEKUDOTAYIM 380 +#define T_NAMESPACE 381 +#define T_NS_C 382 +#define T_DIR 383 +#define T_NS_SEPARATOR 384 + + + + +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +typedef int YYSTYPE; +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 +#endif + + + |