php_parser.h

Go to the documentation of this file.
00001 /* A Bison parser, made by GNU Bison 2.1.  */
00002 
00003 /* Skeleton parser for Yacc-like parsing with Bison,
00004    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2, or (at your option)
00009    any later version.
00010 
00011    This program is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014    GNU General Public License for more details.
00015 
00016    You should have received a copy of the GNU General Public License
00017    along with this program; if not, write to the Free Software
00018    Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019    Boston, MA 02110-1301, USA.  */
00020 
00021 /* As a special exception, when this file is copied by Bison into a
00022    Bison output file, you may use that output file without restriction.
00023    This special exception was added by the Free Software Foundation
00024    in version 1.24 of Bison.  */
00025 
00026 /* Tokens.  */
00027 #ifndef YYTOKENTYPE
00028 # define YYTOKENTYPE
00029    /* Put the tokens into the symbol table, so that GDB and other debuggers
00030       know about them.  */
00031    enum yytokentype {
00032      T_REQUIRE_ONCE = 258,
00033      T_REQUIRE = 259,
00034      T_EVAL = 260,
00035      T_INCLUDE_ONCE = 261,
00036      T_INCLUDE = 262,
00037      T_LOGICAL_OR = 263,
00038      T_LOGICAL_XOR = 264,
00039      T_LOGICAL_AND = 265,
00040      T_PRINT = 266,
00041      T_SR_EQUAL = 267,
00042      T_SL_EQUAL = 268,
00043      T_XOR_EQUAL = 269,
00044      T_OR_EQUAL = 270,
00045      T_AND_EQUAL = 271,
00046      T_MOD_EQUAL = 272,
00047      T_CONCAT_EQUAL = 273,
00048      T_DIV_EQUAL = 274,
00049      T_MUL_EQUAL = 275,
00050      T_MINUS_EQUAL = 276,
00051      T_PLUS_EQUAL = 277,
00052      T_BOOLEAN_OR = 278,
00053      T_BOOLEAN_AND = 279,
00054      T_IS_NOT_IDENTICAL = 280,
00055      T_IS_IDENTICAL = 281,
00056      T_IS_NOT_EQUAL = 282,
00057      T_IS_EQUAL = 283,
00058      T_IS_GREATER_OR_EQUAL = 284,
00059      T_IS_SMALLER_OR_EQUAL = 285,
00060      T_SR = 286,
00061      T_SL = 287,
00062      T_INSTANCEOF = 288,
00063      T_UNSET_CAST = 289,
00064      T_BOOL_CAST = 290,
00065      T_OBJECT_CAST = 291,
00066      T_ARRAY_CAST = 292,
00067      T_STRING_CAST = 293,
00068      T_DOUBLE_CAST = 294,
00069      T_INT_CAST = 295,
00070      T_DEC = 296,
00071      T_INC = 297,
00072      T_CLONE = 298,
00073      T_NEW = 299,
00074      T_EXIT = 300,
00075      T_IF = 301,
00076      T_ELSEIF = 302,
00077      T_ELSE = 303,
00078      T_ENDIF = 304,
00079      T_LNUMBER = 305,
00080      T_DNUMBER = 306,
00081      T_STRING = 307,
00082      T_STRING_VARNAME = 308,
00083      T_VARIABLE = 309,
00084      T_NUM_STRING = 310,
00085      T_INLINE_HTML = 311,
00086      T_CHARACTER = 312,
00087      T_BAD_CHARACTER = 313,
00088      T_ENCAPSED_AND_WHITESPACE = 314,
00089      T_CONSTANT_ENCAPSED_STRING = 315,
00090      T_ECHO = 316,
00091      T_DO = 317,
00092      T_WHILE = 318,
00093      T_ENDWHILE = 319,
00094      T_FOR = 320,
00095      T_ENDFOR = 321,
00096      T_FOREACH = 322,
00097      T_ENDFOREACH = 323,
00098      T_DECLARE = 324,
00099      T_ENDDECLARE = 325,
00100      T_AS = 326,
00101      T_SWITCH = 327,
00102      T_ENDSWITCH = 328,
00103      T_CASE = 329,
00104      T_DEFAULT = 330,
00105      T_BREAK = 331,
00106      T_CONTINUE = 332,
00107      T_FUNCTION = 333,
00108      T_CONST = 334,
00109      T_RETURN = 335,
00110      T_TRY = 336,
00111      T_CATCH = 337,
00112      T_THROW = 338,
00113      T_USE = 339,
00114      T_GLOBAL = 340,
00115      T_PUBLIC = 341,
00116      T_PROTECTED = 342,
00117      T_PRIVATE = 343,
00118      T_FINAL = 344,
00119      T_ABSTRACT = 345,
00120      T_STATIC = 346,
00121      T_VAR = 347,
00122      T_UNSET = 348,
00123      T_ISSET = 349,
00124      T_EMPTY = 350,
00125      T_HALT_COMPILER = 351,
00126      T_CLASS = 352,
00127      T_INTERFACE = 353,
00128      T_EXTENDS = 354,
00129      T_IMPLEMENTS = 355,
00130      T_OBJECT_OPERATOR = 356,
00131      T_DOUBLE_ARROW = 357,
00132      T_LIST = 358,
00133      T_ARRAY = 359,
00134      T_CLASS_C = 360,
00135      T_METHOD_C = 361,
00136      T_FUNC_C = 362,
00137      T_LINE = 363,
00138      T_FILE = 364,
00139      T_COMMENT = 365,
00140      T_DOC_COMMENT = 366,
00141      T_OPEN_TAG = 367,
00142      T_OPEN_TAG_WITH_ECHO = 368,
00143      T_CLOSE_TAG = 369,
00144      T_WHITESPACE = 370,
00145      T_START_HEREDOC = 371,
00146      T_END_HEREDOC = 372,
00147      T_DOLLAR_OPEN_CURLY_BRACES = 373,
00148      T_CURLY_OPEN = 374,
00149      T_PAAMAYIM_NEKUDOTAYIM = 375,
00150      T_ASPECT = 376,
00151      T_BEFORE = 377,
00152      T_AROUND = 378,
00153      T_AFTER = 379,
00154      T_POINTCUT = 380,
00155      T_EXEC = 381,
00156      T_CALL = 382,
00157      T_SET = 383,
00158      T_GET = 384,
00159      T_THIS = 385,
00160      T_WITHIN = 386
00161    };
00162 #endif
00163 /* Tokens.  */
00164 #define T_REQUIRE_ONCE 258
00165 #define T_REQUIRE 259
00166 #define T_EVAL 260
00167 #define T_INCLUDE_ONCE 261
00168 #define T_INCLUDE 262
00169 #define T_LOGICAL_OR 263
00170 #define T_LOGICAL_XOR 264
00171 #define T_LOGICAL_AND 265
00172 #define T_PRINT 266
00173 #define T_SR_EQUAL 267
00174 #define T_SL_EQUAL 268
00175 #define T_XOR_EQUAL 269
00176 #define T_OR_EQUAL 270
00177 #define T_AND_EQUAL 271
00178 #define T_MOD_EQUAL 272
00179 #define T_CONCAT_EQUAL 273
00180 #define T_DIV_EQUAL 274
00181 #define T_MUL_EQUAL 275
00182 #define T_MINUS_EQUAL 276
00183 #define T_PLUS_EQUAL 277
00184 #define T_BOOLEAN_OR 278
00185 #define T_BOOLEAN_AND 279
00186 #define T_IS_NOT_IDENTICAL 280
00187 #define T_IS_IDENTICAL 281
00188 #define T_IS_NOT_EQUAL 282
00189 #define T_IS_EQUAL 283
00190 #define T_IS_GREATER_OR_EQUAL 284
00191 #define T_IS_SMALLER_OR_EQUAL 285
00192 #define T_SR 286
00193 #define T_SL 287
00194 #define T_INSTANCEOF 288
00195 #define T_UNSET_CAST 289
00196 #define T_BOOL_CAST 290
00197 #define T_OBJECT_CAST 291
00198 #define T_ARRAY_CAST 292
00199 #define T_STRING_CAST 293
00200 #define T_DOUBLE_CAST 294
00201 #define T_INT_CAST 295
00202 #define T_DEC 296
00203 #define T_INC 297
00204 #define T_CLONE 298
00205 #define T_NEW 299
00206 #define T_EXIT 300
00207 #define T_IF 301
00208 #define T_ELSEIF 302
00209 #define T_ELSE 303
00210 #define T_ENDIF 304
00211 #define T_LNUMBER 305
00212 #define T_DNUMBER 306
00213 #define T_STRING 307
00214 #define T_STRING_VARNAME 308
00215 #define T_VARIABLE 309
00216 #define T_NUM_STRING 310
00217 #define T_INLINE_HTML 311
00218 #define T_CHARACTER 312
00219 #define T_BAD_CHARACTER 313
00220 #define T_ENCAPSED_AND_WHITESPACE 314
00221 #define T_CONSTANT_ENCAPSED_STRING 315
00222 #define T_ECHO 316
00223 #define T_DO 317
00224 #define T_WHILE 318
00225 #define T_ENDWHILE 319
00226 #define T_FOR 320
00227 #define T_ENDFOR 321
00228 #define T_FOREACH 322
00229 #define T_ENDFOREACH 323
00230 #define T_DECLARE 324
00231 #define T_ENDDECLARE 325
00232 #define T_AS 326
00233 #define T_SWITCH 327
00234 #define T_ENDSWITCH 328
00235 #define T_CASE 329
00236 #define T_DEFAULT 330
00237 #define T_BREAK 331
00238 #define T_CONTINUE 332
00239 #define T_FUNCTION 333
00240 #define T_CONST 334
00241 #define T_RETURN 335
00242 #define T_TRY 336
00243 #define T_CATCH 337
00244 #define T_THROW 338
00245 #define T_USE 339
00246 #define T_GLOBAL 340
00247 #define T_PUBLIC 341
00248 #define T_PROTECTED 342
00249 #define T_PRIVATE 343
00250 #define T_FINAL 344
00251 #define T_ABSTRACT 345
00252 #define T_STATIC 346
00253 #define T_VAR 347
00254 #define T_UNSET 348
00255 #define T_ISSET 349
00256 #define T_EMPTY 350
00257 #define T_HALT_COMPILER 351
00258 #define T_CLASS 352
00259 #define T_INTERFACE 353
00260 #define T_EXTENDS 354
00261 #define T_IMPLEMENTS 355
00262 #define T_OBJECT_OPERATOR 356
00263 #define T_DOUBLE_ARROW 357
00264 #define T_LIST 358
00265 #define T_ARRAY 359
00266 #define T_CLASS_C 360
00267 #define T_METHOD_C 361
00268 #define T_FUNC_C 362
00269 #define T_LINE 363
00270 #define T_FILE 364
00271 #define T_COMMENT 365
00272 #define T_DOC_COMMENT 366
00273 #define T_OPEN_TAG 367
00274 #define T_OPEN_TAG_WITH_ECHO 368
00275 #define T_CLOSE_TAG 369
00276 #define T_WHITESPACE 370
00277 #define T_START_HEREDOC 371
00278 #define T_END_HEREDOC 372
00279 #define T_DOLLAR_OPEN_CURLY_BRACES 373
00280 #define T_CURLY_OPEN 374
00281 #define T_PAAMAYIM_NEKUDOTAYIM 375
00282 #define T_ASPECT 376
00283 #define T_BEFORE 377
00284 #define T_AROUND 378
00285 #define T_AFTER 379
00286 #define T_POINTCUT 380
00287 #define T_EXEC 381
00288 #define T_CALL 382
00289 #define T_SET 383
00290 #define T_GET 384
00291 #define T_THIS 385
00292 #define T_WITHIN 386
00293 
00294 
00295 
00296 
00297 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
00298 typedef int YYSTYPE;
00299 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
00300 # define YYSTYPE_IS_DECLARED 1
00301 # define YYSTYPE_IS_TRIVIAL 1
00302 #endif
00303 
00304 
00305 
00306 
00307 

Generated on Wed Feb 27 20:31:06 2008 for php.ast.svn.src. by  doxygen 1.5.3