1 /* A Bison parser, made by GNU Bison 3.0.2. */ 2 3 /* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. 6 7 This program is free software: you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation, either version 3 of the License, or 10 (at your option) any later version. 11 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. 16 17 You should have received a copy of the GNU General Public License 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 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. 29 30 This special exception was added by the Free Software Foundation in 31 version 2.2 of Bison. */ 32 33 #ifndef YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED 34 # define YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED 35 /* Debug 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 46 47 48 /* Token type. */ 49 #include "zend.h" 50 #ifndef YYTOKENTYPE 51 # define YYTOKENTYPE 52 enum yytokentype 53 { 54 END = 0, 55 PREC_ARROW_FUNCTION = 258, 56 T_INCLUDE = 259, 57 T_INCLUDE_ONCE = 260, 58 T_REQUIRE = 261, 59 T_REQUIRE_ONCE = 262, 60 T_LOGICAL_OR = 263, 61 T_LOGICAL_XOR = 264, 62 T_LOGICAL_AND = 265, 63 T_PRINT = 266, 64 T_YIELD = 267, 65 T_DOUBLE_ARROW = 268, 66 T_YIELD_FROM = 269, 67 T_PLUS_EQUAL = 270, 68 T_MINUS_EQUAL = 271, 69 T_MUL_EQUAL = 272, 70 T_DIV_EQUAL = 273, 71 T_CONCAT_EQUAL = 274, 72 T_MOD_EQUAL = 275, 73 T_AND_EQUAL = 276, 74 T_OR_EQUAL = 277, 75 T_XOR_EQUAL = 278, 76 T_SL_EQUAL = 279, 77 T_SR_EQUAL = 280, 78 T_POW_EQUAL = 281, 79 T_COALESCE_EQUAL = 282, 80 T_COALESCE = 283, 81 T_BOOLEAN_OR = 284, 82 T_BOOLEAN_AND = 285, 83 T_IS_EQUAL = 286, 84 T_IS_NOT_EQUAL = 287, 85 T_IS_IDENTICAL = 288, 86 T_IS_NOT_IDENTICAL = 289, 87 T_SPACESHIP = 290, 88 T_IS_SMALLER_OR_EQUAL = 291, 89 T_IS_GREATER_OR_EQUAL = 292, 90 T_SL = 293, 91 T_SR = 294, 92 T_INSTANCEOF = 295, 93 T_INT_CAST = 296, 94 T_DOUBLE_CAST = 297, 95 T_STRING_CAST = 298, 96 T_ARRAY_CAST = 299, 97 T_OBJECT_CAST = 300, 98 T_BOOL_CAST = 301, 99 T_UNSET_CAST = 302, 100 T_POW = 303, 101 T_NEW = 304, 102 T_CLONE = 305, 103 T_NOELSE = 306, 104 T_ELSEIF = 307, 105 T_ELSE = 308, 106 T_LNUMBER = 309, 107 T_DNUMBER = 310, 108 T_STRING = 311, 109 T_VARIABLE = 312, 110 T_INLINE_HTML = 313, 111 T_ENCAPSED_AND_WHITESPACE = 314, 112 T_CONSTANT_ENCAPSED_STRING = 315, 113 T_STRING_VARNAME = 316, 114 T_NUM_STRING = 317, 115 T_EVAL = 318, 116 T_INC = 319, 117 T_DEC = 320, 118 T_EXIT = 321, 119 T_IF = 322, 120 T_ENDIF = 323, 121 T_ECHO = 324, 122 T_DO = 325, 123 T_WHILE = 326, 124 T_ENDWHILE = 327, 125 T_FOR = 328, 126 T_ENDFOR = 329, 127 T_FOREACH = 330, 128 T_ENDFOREACH = 331, 129 T_DECLARE = 332, 130 T_ENDDECLARE = 333, 131 T_AS = 334, 132 T_SWITCH = 335, 133 T_ENDSWITCH = 336, 134 T_CASE = 337, 135 T_DEFAULT = 338, 136 T_BREAK = 339, 137 T_CONTINUE = 340, 138 T_GOTO = 341, 139 T_FUNCTION = 342, 140 T_FN = 343, 141 T_CONST = 344, 142 T_RETURN = 345, 143 T_TRY = 346, 144 T_CATCH = 347, 145 T_FINALLY = 348, 146 T_THROW = 349, 147 T_USE = 350, 148 T_INSTEADOF = 351, 149 T_GLOBAL = 352, 150 T_STATIC = 353, 151 T_ABSTRACT = 354, 152 T_FINAL = 355, 153 T_PRIVATE = 356, 154 T_PROTECTED = 357, 155 T_PUBLIC = 358, 156 T_VAR = 359, 157 T_UNSET = 360, 158 T_ISSET = 361, 159 T_EMPTY = 362, 160 T_HALT_COMPILER = 363, 161 T_CLASS = 364, 162 T_TRAIT = 365, 163 T_INTERFACE = 366, 164 T_EXTENDS = 367, 165 T_IMPLEMENTS = 368, 166 T_OBJECT_OPERATOR = 369, 167 T_LIST = 370, 168 T_ARRAY = 371, 169 T_CALLABLE = 372, 170 T_LINE = 373, 171 T_FILE = 374, 172 T_DIR = 375, 173 T_CLASS_C = 376, 174 T_TRAIT_C = 377, 175 T_METHOD_C = 378, 176 T_FUNC_C = 379, 177 T_COMMENT = 380, 178 T_DOC_COMMENT = 381, 179 T_OPEN_TAG = 382, 180 T_OPEN_TAG_WITH_ECHO = 383, 181 T_CLOSE_TAG = 384, 182 T_WHITESPACE = 385, 183 T_START_HEREDOC = 386, 184 T_END_HEREDOC = 387, 185 T_DOLLAR_OPEN_CURLY_BRACES = 388, 186 T_CURLY_OPEN = 389, 187 T_PAAMAYIM_NEKUDOTAYIM = 390, 188 T_NAMESPACE = 391, 189 T_NS_C = 392, 190 T_NS_SEPARATOR = 393, 191 T_ELLIPSIS = 394, 192 T_BAD_CHARACTER = 395, 193 T_ERROR = 396 194 }; 195 #endif 196 197 /* Value type. */ 198 199 200 201 ZEND_API int zendparse (void); 202 203 #endif /* !YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED */ 204