root/Zend/zend_language_parser.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


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

/* [<][>][^][v][top][bottom][index][help] */