Back to index

php5  5.3.10
Classes | Defines | Typedefs | Enumerations | Functions | Variables
zend_language_parser.c File Reference
#include "zend_compile.h"
#include "zend.h"
#include "zend_list.h"
#include "zend_globals.h"
#include "zend_API.h"
#include "zend_constants.h"

Go to the source code of this file.

Classes

union  yyalloc

Defines

#define YYBISON   1
#define YYBISON_VERSION   "2.4.1"
#define YYSKELETON_NAME   "yacc.c"
#define YYPURE   1
#define YYPUSH   0
#define YYPULL   1
#define YYLSP_NEEDED   0
#define yyparse   zendparse
#define yylex   zendlex
#define yyerror   zenderror
#define yylval   zendlval
#define yychar   zendchar
#define yydebug   zenddebug
#define yynerrs   zendnerrs
#define YYERROR_VERBOSE
#define YYSTYPE   znode
#define YYDEBUG   0
#define YYERROR_VERBOSE   1
#define YYTOKEN_TABLE   0
#define YYTOKENTYPE
#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_GLOBAL   341
#define T_PUBLIC   342
#define T_PROTECTED   343
#define T_PRIVATE   344
#define T_FINAL   345
#define T_ABSTRACT   346
#define T_STATIC   347
#define T_VAR   348
#define T_UNSET   349
#define T_ISSET   350
#define T_EMPTY   351
#define T_HALT_COMPILER   352
#define T_CLASS   353
#define T_INTERFACE   354
#define T_EXTENDS   355
#define T_IMPLEMENTS   356
#define T_OBJECT_OPERATOR   357
#define T_DOUBLE_ARROW   358
#define T_LIST   359
#define T_ARRAY   360
#define T_CLASS_C   361
#define T_METHOD_C   362
#define T_FUNC_C   363
#define T_LINE   364
#define T_FILE   365
#define T_COMMENT   366
#define T_DOC_COMMENT   367
#define T_OPEN_TAG   368
#define T_OPEN_TAG_WITH_ECHO   369
#define T_CLOSE_TAG   370
#define T_WHITESPACE   371
#define T_START_HEREDOC   372
#define T_END_HEREDOC   373
#define T_DOLLAR_OPEN_CURLY_BRACES   374
#define T_CURLY_OPEN   375
#define T_PAAMAYIM_NEKUDOTAYIM   376
#define T_NAMESPACE   377
#define T_NS_C   378
#define T_DIR   379
#define T_NS_SEPARATOR   380
#define YYSIZE_T   unsigned int
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
#define YY_(msgid)   msgid
#define YYUSE(e)   ((void) (e))
#define YYID(n)   (n)
#define YYSTACK_ALLOC   YYMALLOC
#define YYSTACK_FREE   YYFREE
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
#define YYMALLOC   malloc
#define YYFREE   free
#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
#define YYSTACK_BYTES(N)
#define YYCOPY(To, From, Count)
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
#define YYFINAL   3
#define YYLAST   5168
#define YYNTOKENS   154
#define YYNNTS   181
#define YYNRULES   464
#define YYNSTATES   894
#define YYUNDEFTOK   2
#define YYMAXUTOK   380
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
#define YYPACT_NINF   -563
#define YYTABLE_NINF   -401
#define yyerrok   (yyerrstatus = 0)
#define yyclearin   (yychar = YYEMPTY)
#define YYEMPTY   (-2)
#define YYEOF   0
#define YYACCEPT   goto yyacceptlab
#define YYABORT   goto yyabortlab
#define YYERROR   goto yyerrorlab
#define YYFAIL   goto yyerrlab
#define YYRECOVERING()   (!!yyerrstatus)
#define YYBACKUP(Token, Value)
#define YYTERROR   1
#define YYERRCODE   256
#define YYRHSLOC(Rhs, K)   ((Rhs)[K])
#define YYLLOC_DEFAULT(Current, Rhs, N)
#define YY_LOCATION_PRINT(File, Loc)   ((void) 0)
#define YYLEX   yylex (&yylval)
#define YYDPRINTF(Args)
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
#define YY_STACK_PRINT(Bottom, Top)
#define YY_REDUCE_PRINT(Rule)
#define YYINITDEPTH   200
#define YYMAXDEPTH   10000
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))

Typedefs

typedef unsigned char yytype_uint8
typedef short int yytype_int8
typedef unsigned short int yytype_uint16
typedef short int yytype_int16

Enumerations

enum  yytokentype {
  TC_SECTION = 258, TC_RAW = 259, TC_CONSTANT = 260, TC_NUMBER = 261,
  TC_STRING = 262, TC_WHITESPACE = 263, TC_LABEL = 264, TC_OFFSET = 265,
  TC_DOLLAR_CURLY = 266, TC_VARNAME = 267, TC_QUOTED_STRING = 268, BOOL_TRUE = 269,
  BOOL_FALSE = 270, END_OF_LINE = 271, TC_SECTION = 258, TC_RAW = 259,
  TC_CONSTANT = 260, TC_NUMBER = 261, TC_STRING = 262, TC_WHITESPACE = 263,
  TC_LABEL = 264, TC_OFFSET = 265, TC_DOLLAR_CURLY = 266, TC_VARNAME = 267,
  TC_QUOTED_STRING = 268, BOOL_TRUE = 269, BOOL_FALSE = 270, END_OF_LINE = 271,
  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_GLOBAL = 341,
  T_PUBLIC = 342, T_PROTECTED = 343, T_PRIVATE = 344, T_FINAL = 345,
  T_ABSTRACT = 346, T_STATIC = 347, T_VAR = 348, T_UNSET = 349,
  T_ISSET = 350, T_EMPTY = 351, T_HALT_COMPILER = 352, T_CLASS = 353,
  T_INTERFACE = 354, T_EXTENDS = 355, T_IMPLEMENTS = 356, T_OBJECT_OPERATOR = 357,
  T_DOUBLE_ARROW = 358, T_LIST = 359, T_ARRAY = 360, T_CLASS_C = 361,
  T_METHOD_C = 362, T_FUNC_C = 363, T_LINE = 364, T_FILE = 365,
  T_COMMENT = 366, T_DOC_COMMENT = 367, T_OPEN_TAG = 368, T_OPEN_TAG_WITH_ECHO = 369,
  T_CLOSE_TAG = 370, T_WHITESPACE = 371, T_START_HEREDOC = 372, T_END_HEREDOC = 373,
  T_DOLLAR_OPEN_CURLY_BRACES = 374, T_CURLY_OPEN = 375, T_PAAMAYIM_NEKUDOTAYIM = 376, T_NAMESPACE = 377,
  T_NS_C = 378, T_DIR = 379, T_NS_SEPARATOR = 380, 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_GLOBAL = 341, T_PUBLIC = 342,
  T_PROTECTED = 343, T_PRIVATE = 344, T_FINAL = 345, T_ABSTRACT = 346,
  T_STATIC = 347, T_VAR = 348, T_UNSET = 349, T_ISSET = 350,
  T_EMPTY = 351, T_HALT_COMPILER = 352, T_CLASS = 353, T_INTERFACE = 354,
  T_EXTENDS = 355, T_IMPLEMENTS = 356, T_OBJECT_OPERATOR = 357, T_DOUBLE_ARROW = 358,
  T_LIST = 359, T_ARRAY = 360, T_CLASS_C = 361, T_METHOD_C = 362,
  T_FUNC_C = 363, T_LINE = 364, T_FILE = 365, T_COMMENT = 366,
  T_DOC_COMMENT = 367, T_OPEN_TAG = 368, T_OPEN_TAG_WITH_ECHO = 369, T_CLOSE_TAG = 370,
  T_WHITESPACE = 371, T_START_HEREDOC = 372, T_END_HEREDOC = 373, T_DOLLAR_OPEN_CURLY_BRACES = 374,
  T_CURLY_OPEN = 375, T_PAAMAYIM_NEKUDOTAYIM = 376, T_NAMESPACE = 377, T_NS_C = 378,
  T_DIR = 379, T_NS_SEPARATOR = 380
}

Functions

static YYSIZE_T yystrlen (char *yystr) const
static char * yystpcpy (char *yydest, const char *yysrc)
static YYSIZE_T yytnamerr (char *yyres, const char *yystr)
static YYSIZE_T yysyntax_error (char *yyresult, int yystate, int yychar)
static void yydestruct (char *yymsg, int yytype, YYSTYPE *yyvaluep) const
int yyparse ()

Variables

static const yytype_uint8 yytranslate []
static const char *const yytname []
static const yytype_uint16 yyr1 []
static const yytype_uint8 yyr2 []
static const yytype_uint16 yydefact []
static const yytype_int16 yydefgoto []
static const yytype_int16 yypact []
static const yytype_int16 yypgoto []
static const yytype_int16 yytable []
static const yytype_int16 yycheck []
static const yytype_uint16 yystos []

Class Documentation

union yyalloc

Definition at line 558 of file zend_ini_parser.c.

Class Members
yytype_int16 yyss_alloc
YYSTYPE yyvs_alloc

Define Documentation

#define T_ABSTRACT   346

Definition at line 366 of file zend_language_parser.c.

#define T_AND_EQUAL   271

Definition at line 291 of file zend_language_parser.c.

#define T_ARRAY   360

Definition at line 380 of file zend_language_parser.c.

#define T_ARRAY_CAST   292

Definition at line 312 of file zend_language_parser.c.

#define T_AS   326

Definition at line 346 of file zend_language_parser.c.

#define T_BAD_CHARACTER   313

Definition at line 333 of file zend_language_parser.c.

#define T_BOOL_CAST   290

Definition at line 310 of file zend_language_parser.c.

#define T_BOOLEAN_AND   279

Definition at line 299 of file zend_language_parser.c.

#define T_BOOLEAN_OR   278

Definition at line 298 of file zend_language_parser.c.

#define T_BREAK   331

Definition at line 351 of file zend_language_parser.c.

#define T_CASE   329

Definition at line 349 of file zend_language_parser.c.

#define T_CATCH   338

Definition at line 358 of file zend_language_parser.c.

#define T_CHARACTER   312

Definition at line 332 of file zend_language_parser.c.

#define T_CLASS   353

Definition at line 373 of file zend_language_parser.c.

#define T_CLASS_C   361

Definition at line 381 of file zend_language_parser.c.

#define T_CLONE   298

Definition at line 318 of file zend_language_parser.c.

#define T_CLOSE_TAG   370

Definition at line 390 of file zend_language_parser.c.

#define T_COMMENT   366

Definition at line 386 of file zend_language_parser.c.

#define T_CONCAT_EQUAL   273

Definition at line 293 of file zend_language_parser.c.

#define T_CONST   335

Definition at line 355 of file zend_language_parser.c.

#define T_CONSTANT_ENCAPSED_STRING   315

Definition at line 335 of file zend_language_parser.c.

#define T_CONTINUE   332

Definition at line 352 of file zend_language_parser.c.

#define T_CURLY_OPEN   375

Definition at line 395 of file zend_language_parser.c.

#define T_DEC   296

Definition at line 316 of file zend_language_parser.c.

#define T_DECLARE   324

Definition at line 344 of file zend_language_parser.c.

#define T_DEFAULT   330

Definition at line 350 of file zend_language_parser.c.

#define T_DIR   379

Definition at line 399 of file zend_language_parser.c.

#define T_DIV_EQUAL   274

Definition at line 294 of file zend_language_parser.c.

#define T_DNUMBER   306

Definition at line 326 of file zend_language_parser.c.

#define T_DO   317

Definition at line 337 of file zend_language_parser.c.

#define T_DOC_COMMENT   367

Definition at line 387 of file zend_language_parser.c.

#define T_DOLLAR_OPEN_CURLY_BRACES   374

Definition at line 394 of file zend_language_parser.c.

#define T_DOUBLE_ARROW   358

Definition at line 378 of file zend_language_parser.c.

#define T_DOUBLE_CAST   294

Definition at line 314 of file zend_language_parser.c.

#define T_ECHO   316

Definition at line 336 of file zend_language_parser.c.

#define T_ELSE   303

Definition at line 323 of file zend_language_parser.c.

#define T_ELSEIF   302

Definition at line 322 of file zend_language_parser.c.

#define T_EMPTY   351

Definition at line 371 of file zend_language_parser.c.

#define T_ENCAPSED_AND_WHITESPACE   314

Definition at line 334 of file zend_language_parser.c.

#define T_END_HEREDOC   373

Definition at line 393 of file zend_language_parser.c.

#define T_ENDDECLARE   325

Definition at line 345 of file zend_language_parser.c.

#define T_ENDFOR   321

Definition at line 341 of file zend_language_parser.c.

#define T_ENDFOREACH   323

Definition at line 343 of file zend_language_parser.c.

#define T_ENDIF   304

Definition at line 324 of file zend_language_parser.c.

#define T_ENDSWITCH   328

Definition at line 348 of file zend_language_parser.c.

#define T_ENDWHILE   319

Definition at line 339 of file zend_language_parser.c.

#define T_EVAL   260

Definition at line 280 of file zend_language_parser.c.

#define T_EXIT   300

Definition at line 320 of file zend_language_parser.c.

#define T_EXTENDS   355

Definition at line 375 of file zend_language_parser.c.

#define T_FILE   365

Definition at line 385 of file zend_language_parser.c.

#define T_FINAL   345

Definition at line 365 of file zend_language_parser.c.

#define T_FOR   320

Definition at line 340 of file zend_language_parser.c.

#define T_FOREACH   322

Definition at line 342 of file zend_language_parser.c.

#define T_FUNC_C   363

Definition at line 383 of file zend_language_parser.c.

#define T_FUNCTION   334

Definition at line 354 of file zend_language_parser.c.

#define T_GLOBAL   341

Definition at line 361 of file zend_language_parser.c.

#define T_GOTO   333

Definition at line 353 of file zend_language_parser.c.

#define T_HALT_COMPILER   352

Definition at line 372 of file zend_language_parser.c.

#define T_IF   301

Definition at line 321 of file zend_language_parser.c.

#define T_IMPLEMENTS   356

Definition at line 376 of file zend_language_parser.c.

#define T_INC   297

Definition at line 317 of file zend_language_parser.c.

#define T_INCLUDE   262

Definition at line 282 of file zend_language_parser.c.

#define T_INCLUDE_ONCE   261

Definition at line 281 of file zend_language_parser.c.

#define T_INLINE_HTML   311

Definition at line 331 of file zend_language_parser.c.

#define T_INSTANCEOF   288

Definition at line 308 of file zend_language_parser.c.

#define T_INT_CAST   295

Definition at line 315 of file zend_language_parser.c.

#define T_INTERFACE   354

Definition at line 374 of file zend_language_parser.c.

#define T_IS_EQUAL   283

Definition at line 303 of file zend_language_parser.c.

#define T_IS_GREATER_OR_EQUAL   284

Definition at line 304 of file zend_language_parser.c.

#define T_IS_IDENTICAL   281

Definition at line 301 of file zend_language_parser.c.

#define T_IS_NOT_EQUAL   282

Definition at line 302 of file zend_language_parser.c.

#define T_IS_NOT_IDENTICAL   280

Definition at line 300 of file zend_language_parser.c.

#define T_IS_SMALLER_OR_EQUAL   285

Definition at line 305 of file zend_language_parser.c.

#define T_ISSET   350

Definition at line 370 of file zend_language_parser.c.

#define T_LINE   364

Definition at line 384 of file zend_language_parser.c.

#define T_LIST   359

Definition at line 379 of file zend_language_parser.c.

#define T_LNUMBER   305

Definition at line 325 of file zend_language_parser.c.

#define T_LOGICAL_AND   265

Definition at line 285 of file zend_language_parser.c.

#define T_LOGICAL_OR   263

Definition at line 283 of file zend_language_parser.c.

#define T_LOGICAL_XOR   264

Definition at line 284 of file zend_language_parser.c.

#define T_METHOD_C   362

Definition at line 382 of file zend_language_parser.c.

#define T_MINUS_EQUAL   276

Definition at line 296 of file zend_language_parser.c.

#define T_MOD_EQUAL   272

Definition at line 292 of file zend_language_parser.c.

#define T_MUL_EQUAL   275

Definition at line 295 of file zend_language_parser.c.

#define T_NAMESPACE   377

Definition at line 397 of file zend_language_parser.c.

#define T_NEW   299

Definition at line 319 of file zend_language_parser.c.

#define T_NS_C   378

Definition at line 398 of file zend_language_parser.c.

#define T_NS_SEPARATOR   380

Definition at line 400 of file zend_language_parser.c.

#define T_NUM_STRING   310

Definition at line 330 of file zend_language_parser.c.

#define T_OBJECT_CAST   291

Definition at line 311 of file zend_language_parser.c.

#define T_OBJECT_OPERATOR   357

Definition at line 377 of file zend_language_parser.c.

#define T_OPEN_TAG   368

Definition at line 388 of file zend_language_parser.c.

#define T_OPEN_TAG_WITH_ECHO   369

Definition at line 389 of file zend_language_parser.c.

#define T_OR_EQUAL   270

Definition at line 290 of file zend_language_parser.c.

#define T_PAAMAYIM_NEKUDOTAYIM   376

Definition at line 396 of file zend_language_parser.c.

#define T_PLUS_EQUAL   277

Definition at line 297 of file zend_language_parser.c.

#define T_PRINT   266

Definition at line 286 of file zend_language_parser.c.

#define T_PRIVATE   344

Definition at line 364 of file zend_language_parser.c.

#define T_PROTECTED   343

Definition at line 363 of file zend_language_parser.c.

#define T_PUBLIC   342

Definition at line 362 of file zend_language_parser.c.

#define T_REQUIRE   259

Definition at line 279 of file zend_language_parser.c.

#define T_REQUIRE_ONCE   258

Definition at line 278 of file zend_language_parser.c.

#define T_RETURN   336

Definition at line 356 of file zend_language_parser.c.

#define T_SL   287

Definition at line 307 of file zend_language_parser.c.

#define T_SL_EQUAL   268

Definition at line 288 of file zend_language_parser.c.

#define T_SR   286

Definition at line 306 of file zend_language_parser.c.

#define T_SR_EQUAL   267

Definition at line 287 of file zend_language_parser.c.

#define T_START_HEREDOC   372

Definition at line 392 of file zend_language_parser.c.

#define T_STATIC   347

Definition at line 367 of file zend_language_parser.c.

#define T_STRING   307

Definition at line 327 of file zend_language_parser.c.

#define T_STRING_CAST   293

Definition at line 313 of file zend_language_parser.c.

#define T_STRING_VARNAME   308

Definition at line 328 of file zend_language_parser.c.

#define T_SWITCH   327

Definition at line 347 of file zend_language_parser.c.

#define T_THROW   339

Definition at line 359 of file zend_language_parser.c.

#define T_TRY   337

Definition at line 357 of file zend_language_parser.c.

#define T_UNSET   349

Definition at line 369 of file zend_language_parser.c.

#define T_UNSET_CAST   289

Definition at line 309 of file zend_language_parser.c.

#define T_USE   340

Definition at line 360 of file zend_language_parser.c.

#define T_VAR   348

Definition at line 368 of file zend_language_parser.c.

#define T_VARIABLE   309

Definition at line 329 of file zend_language_parser.c.

#define T_WHILE   318

Definition at line 338 of file zend_language_parser.c.

#define T_WHITESPACE   371

Definition at line 391 of file zend_language_parser.c.

#define T_XOR_EQUAL   269

Definition at line 289 of file zend_language_parser.c.

#define YY_ (   msgid)    msgid

Definition at line 472 of file zend_language_parser.c.

#define YY_LOCATION_PRINT (   File,
  Loc 
)    ((void) 0)

Definition at line 2631 of file zend_language_parser.c.

#define YY_REDUCE_PRINT (   Rule)

Definition at line 2804 of file zend_language_parser.c.

#define YY_STACK_PRINT (   Bottom,
  Top 
)

Definition at line 2803 of file zend_language_parser.c.

#define YY_SYMBOL_PRINT (   Title,
  Type,
  Value,
  Location 
)

Definition at line 2802 of file zend_language_parser.c.

#define YYABORT   goto yyabortlab

Definition at line 2560 of file zend_language_parser.c.

#define YYACCEPT   goto yyacceptlab

Definition at line 2559 of file zend_language_parser.c.

#define YYBACKUP (   Token,
  Value 
)
Value:
do								\
  if (yychar == YYEMPTY && yylen == 1)                         \
    {                                                   \
      yychar = (Token);                                        \
      yylval = (Value);                                        \
      yytoken = YYTRANSLATE (yychar);                          \
      YYPOPSTACK (1);                                          \
      goto yybackup;                                    \
    }                                                   \
  else                                                  \
    {                                                   \
      yyerror (YY_("syntax error: cannot back up")); \
      YYERROR;                                                 \
    }                                                   \
while (YYID (0))

Definition at line 2572 of file zend_language_parser.c.

#define YYBISON   1

Definition at line 46 of file zend_language_parser.c.

#define YYBISON_VERSION   "2.4.1"

Definition at line 49 of file zend_language_parser.c.

#define yychar   zendchar

Definition at line 71 of file zend_language_parser.c.

#define yyclearin   (yychar = YYEMPTY)

Definition at line 2555 of file zend_language_parser.c.

#define YYCOPY (   To,
  From,
  Count 
)
Value:
do                                 \
       {                                  \
         YYSIZE_T yyi;                           \
         for (yyi = 0; yyi < (Count); yyi++)     \
           (To)[yyi] = (From)[yyi];              \
       }                                  \
      while (YYID (0))

Definition at line 598 of file zend_language_parser.c.

#define yydebug   zenddebug

Definition at line 72 of file zend_language_parser.c.

#define YYDEBUG   0

Definition at line 129 of file zend_language_parser.c.

#define YYDPRINTF (   Args)

Definition at line 2801 of file zend_language_parser.c.

#define YYEMPTY   (-2)

Definition at line 2556 of file zend_language_parser.c.

#define YYEOF   0

Definition at line 2557 of file zend_language_parser.c.

#define YYERRCODE   256

Definition at line 2591 of file zend_language_parser.c.

#define yyerrok   (yyerrstatus = 0)

Definition at line 2554 of file zend_language_parser.c.

#define yyerror   zenderror

Definition at line 69 of file zend_language_parser.c.

#define YYERROR   goto yyerrorlab

Definition at line 2561 of file zend_language_parser.c.

#define YYERROR_VERBOSE

Definition at line 135 of file zend_language_parser.c.

#define YYERROR_VERBOSE   1

Definition at line 135 of file zend_language_parser.c.

#define YYFAIL   goto yyerrlab

Definition at line 2568 of file zend_language_parser.c.

#define YYFINAL   3

Definition at line 628 of file zend_language_parser.c.

#define YYFREE   free

Definition at line 561 of file zend_language_parser.c.

#define YYID (   n)    (n)

Definition at line 485 of file zend_language_parser.c.

#define YYINITDEPTH   200

Definition at line 2810 of file zend_language_parser.c.

#define YYLAST   5168

Definition at line 630 of file zend_language_parser.c.

#define yylex   zendlex

Definition at line 68 of file zend_language_parser.c.

#define YYLEX   yylex (&yylval)

Definition at line 2641 of file zend_language_parser.c.

#define YYLLOC_DEFAULT (   Current,
  Rhs,
  N 
)
Value:
do									\
      if (YYID (N))                                                    \
       {                                                       \
         (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;       \
         (Current).first_column = YYRHSLOC (Rhs, 1).first_column;     \
         (Current).last_line    = YYRHSLOC (Rhs, N).last_line;        \
         (Current).last_column  = YYRHSLOC (Rhs, N).last_column;      \
       }                                                       \
      else                                                     \
       {                                                       \
         (Current).first_line   = (Current).last_line   =             \
           YYRHSLOC (Rhs, 0).last_line;                        \
         (Current).first_column = (Current).last_column =             \
           YYRHSLOC (Rhs, 0).last_column;                      \
       }                                                       \
    while (YYID (0))

Definition at line 2600 of file zend_language_parser.c.

#define YYLSP_NEEDED   0

Definition at line 64 of file zend_language_parser.c.

#define yylval   zendlval

Definition at line 70 of file zend_language_parser.c.

#define YYMALLOC   malloc

Definition at line 554 of file zend_language_parser.c.

#define YYMAXDEPTH   10000

Definition at line 2821 of file zend_language_parser.c.

#define YYMAXUTOK   380

Definition at line 643 of file zend_language_parser.c.

#define yynerrs   zendnerrs

Definition at line 73 of file zend_language_parser.c.

#define YYNNTS   181

Definition at line 635 of file zend_language_parser.c.

#define YYNRULES   464

Definition at line 637 of file zend_language_parser.c.

#define YYNSTATES   894

Definition at line 639 of file zend_language_parser.c.

#define YYNTOKENS   154

Definition at line 633 of file zend_language_parser.c.

#define YYPACT_NINF   -563

Definition at line 1292 of file zend_language_parser.c.

#define yyparse   zendparse

Definition at line 67 of file zend_language_parser.c.

#define YYPOPSTACK (   N)    (yyvsp -= (N), yyssp -= (N))
#define YYPULL   1

Definition at line 61 of file zend_language_parser.c.

#define YYPURE   1

Definition at line 55 of file zend_language_parser.c.

#define YYPUSH   0

Definition at line 58 of file zend_language_parser.c.

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 2570 of file zend_language_parser.c.

#define YYRHSLOC (   Rhs,
  K 
)    ((Rhs)[K])

Definition at line 2598 of file zend_language_parser.c.

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 462 of file zend_language_parser.c.

#define YYSIZE_T   unsigned int

Definition at line 458 of file zend_language_parser.c.

#define YYSKELETON_NAME   "yacc.c"

Definition at line 52 of file zend_language_parser.c.

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 540 of file zend_language_parser.c.

Definition at line 543 of file zend_language_parser.c.

#define YYSTACK_BYTES (   N)
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
      + YYSTACK_GAP_MAXIMUM)

Definition at line 587 of file zend_language_parser.c.

#define YYSTACK_FREE   YYFREE

Definition at line 541 of file zend_language_parser.c.

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)

Definition at line 583 of file zend_language_parser.c.

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do                                                             \
      {                                                               \
       YYSIZE_T yynewbytes;                                    \
       YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                   \
       Stack = &yyptr->Stack_alloc;                                   \
       yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
       yyptr += yynewbytes / sizeof (*yyptr);                         \
      }                                                               \
    while (YYID (0))

Definition at line 614 of file zend_language_parser.c.

#define YYSTYPE   znode

Definition at line 117 of file zend_language_parser.c.

#define YYTABLE_NINF   -401

Definition at line 1415 of file zend_language_parser.c.

#define YYTERROR   1

Definition at line 2590 of file zend_language_parser.c.

#define YYTOKEN_TABLE   0

Definition at line 142 of file zend_language_parser.c.

#define YYTOKENTYPE

Definition at line 148 of file zend_language_parser.c.

#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

Definition at line 645 of file zend_language_parser.c.

#define YYUNDEFTOK   2

Definition at line 642 of file zend_language_parser.c.

#define YYUSE (   e)    ((void) (e))

Definition at line 478 of file zend_language_parser.c.


Typedef Documentation

typedef short int yytype_int16

Definition at line 445 of file zend_language_parser.c.

typedef short int yytype_int8

Definition at line 433 of file zend_language_parser.c.

typedef unsigned short int yytype_uint16

Definition at line 439 of file zend_language_parser.c.

typedef unsigned char yytype_uint8

Definition at line 424 of file zend_language_parser.c.


Enumeration Type Documentation

Enumerator:
TC_SECTION 
TC_RAW 
TC_CONSTANT 
TC_NUMBER 
TC_STRING 
TC_WHITESPACE 
TC_LABEL 
TC_OFFSET 
TC_DOLLAR_CURLY 
TC_VARNAME 
TC_QUOTED_STRING 
BOOL_TRUE 
BOOL_FALSE 
END_OF_LINE 
TC_SECTION 
TC_RAW 
TC_CONSTANT 
TC_NUMBER 
TC_STRING 
TC_WHITESPACE 
TC_LABEL 
TC_OFFSET 
TC_DOLLAR_CURLY 
TC_VARNAME 
TC_QUOTED_STRING 
BOOL_TRUE 
BOOL_FALSE 
END_OF_LINE 
T_REQUIRE_ONCE 
T_REQUIRE 
T_EVAL 
T_INCLUDE_ONCE 
T_INCLUDE 
T_LOGICAL_OR 
T_LOGICAL_XOR 
T_LOGICAL_AND 
T_PRINT 
T_SR_EQUAL 
T_SL_EQUAL 
T_XOR_EQUAL 
T_OR_EQUAL 
T_AND_EQUAL 
T_MOD_EQUAL 
T_CONCAT_EQUAL 
T_DIV_EQUAL 
T_MUL_EQUAL 
T_MINUS_EQUAL 
T_PLUS_EQUAL 
T_BOOLEAN_OR 
T_BOOLEAN_AND 
T_IS_NOT_IDENTICAL 
T_IS_IDENTICAL 
T_IS_NOT_EQUAL 
T_IS_EQUAL 
T_IS_GREATER_OR_EQUAL 
T_IS_SMALLER_OR_EQUAL 
T_SR 
T_SL 
T_INSTANCEOF 
T_UNSET_CAST 
T_BOOL_CAST 
T_OBJECT_CAST 
T_ARRAY_CAST 
T_STRING_CAST 
T_DOUBLE_CAST 
T_INT_CAST 
T_DEC 
T_INC 
T_CLONE 
T_NEW 
T_EXIT 
T_IF 
T_ELSEIF 
T_ELSE 
T_ENDIF 
T_LNUMBER 
T_DNUMBER 
T_STRING 
T_STRING_VARNAME 
T_VARIABLE 
T_NUM_STRING 
T_INLINE_HTML 
T_CHARACTER 
T_BAD_CHARACTER 
T_ENCAPSED_AND_WHITESPACE 
T_CONSTANT_ENCAPSED_STRING 
T_ECHO 
T_DO 
T_WHILE 
T_ENDWHILE 
T_FOR 
T_ENDFOR 
T_FOREACH 
T_ENDFOREACH 
T_DECLARE 
T_ENDDECLARE 
T_AS 
T_SWITCH 
T_ENDSWITCH 
T_CASE 
T_DEFAULT 
T_BREAK 
T_CONTINUE 
T_GOTO 
T_FUNCTION 
T_CONST 
T_RETURN 
T_TRY 
T_CATCH 
T_THROW 
T_USE 
T_GLOBAL 
T_PUBLIC 
T_PROTECTED 
T_PRIVATE 
T_FINAL 
T_ABSTRACT 
T_STATIC 
T_VAR 
T_UNSET 
T_ISSET 
T_EMPTY 
T_HALT_COMPILER 
T_CLASS 
T_INTERFACE 
T_EXTENDS 
T_IMPLEMENTS 
T_OBJECT_OPERATOR 
T_DOUBLE_ARROW 
T_LIST 
T_ARRAY 
T_CLASS_C 
T_METHOD_C 
T_FUNC_C 
T_LINE 
T_FILE 
T_COMMENT 
T_DOC_COMMENT 
T_OPEN_TAG 
T_OPEN_TAG_WITH_ECHO 
T_CLOSE_TAG 
T_WHITESPACE 
T_START_HEREDOC 
T_END_HEREDOC 
T_DOLLAR_OPEN_CURLY_BRACES 
T_CURLY_OPEN 
T_PAAMAYIM_NEKUDOTAYIM 
T_NAMESPACE 
T_NS_C 
T_DIR 
T_NS_SEPARATOR 
T_REQUIRE_ONCE 
T_REQUIRE 
T_EVAL 
T_INCLUDE_ONCE 
T_INCLUDE 
T_LOGICAL_OR 
T_LOGICAL_XOR 
T_LOGICAL_AND 
T_PRINT 
T_SR_EQUAL 
T_SL_EQUAL 
T_XOR_EQUAL 
T_OR_EQUAL 
T_AND_EQUAL 
T_MOD_EQUAL 
T_CONCAT_EQUAL 
T_DIV_EQUAL 
T_MUL_EQUAL 
T_MINUS_EQUAL 
T_PLUS_EQUAL 
T_BOOLEAN_OR 
T_BOOLEAN_AND 
T_IS_NOT_IDENTICAL 
T_IS_IDENTICAL 
T_IS_NOT_EQUAL 
T_IS_EQUAL 
T_IS_GREATER_OR_EQUAL 
T_IS_SMALLER_OR_EQUAL 
T_SR 
T_SL 
T_INSTANCEOF 
T_UNSET_CAST 
T_BOOL_CAST 
T_OBJECT_CAST 
T_ARRAY_CAST 
T_STRING_CAST 
T_DOUBLE_CAST 
T_INT_CAST 
T_DEC 
T_INC 
T_CLONE 
T_NEW 
T_EXIT 
T_IF 
T_ELSEIF 
T_ELSE 
T_ENDIF 
T_LNUMBER 
T_DNUMBER 
T_STRING 
T_STRING_VARNAME 
T_VARIABLE 
T_NUM_STRING 
T_INLINE_HTML 
T_CHARACTER 
T_BAD_CHARACTER 
T_ENCAPSED_AND_WHITESPACE 
T_CONSTANT_ENCAPSED_STRING 
T_ECHO 
T_DO 
T_WHILE 
T_ENDWHILE 
T_FOR 
T_ENDFOR 
T_FOREACH 
T_ENDFOREACH 
T_DECLARE 
T_ENDDECLARE 
T_AS 
T_SWITCH 
T_ENDSWITCH 
T_CASE 
T_DEFAULT 
T_BREAK 
T_CONTINUE 
T_GOTO 
T_FUNCTION 
T_CONST 
T_RETURN 
T_TRY 
T_CATCH 
T_THROW 
T_USE 
T_GLOBAL 
T_PUBLIC 
T_PROTECTED 
T_PRIVATE 
T_FINAL 
T_ABSTRACT 
T_STATIC 
T_VAR 
T_UNSET 
T_ISSET 
T_EMPTY 
T_HALT_COMPILER 
T_CLASS 
T_INTERFACE 
T_EXTENDS 
T_IMPLEMENTS 
T_OBJECT_OPERATOR 
T_DOUBLE_ARROW 
T_LIST 
T_ARRAY 
T_CLASS_C 
T_METHOD_C 
T_FUNC_C 
T_LINE 
T_FILE 
T_COMMENT 
T_DOC_COMMENT 
T_OPEN_TAG 
T_OPEN_TAG_WITH_ECHO 
T_CLOSE_TAG 
T_WHITESPACE 
T_START_HEREDOC 
T_END_HEREDOC 
T_DOLLAR_OPEN_CURLY_BRACES 
T_CURLY_OPEN 
T_PAAMAYIM_NEKUDOTAYIM 
T_NAMESPACE 
T_NS_C 
T_DIR 
T_NS_SEPARATOR 

Definition at line 151 of file zend_language_parser.c.

                    {
     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_GLOBAL = 341,
     T_PUBLIC = 342,
     T_PROTECTED = 343,
     T_PRIVATE = 344,
     T_FINAL = 345,
     T_ABSTRACT = 346,
     T_STATIC = 347,
     T_VAR = 348,
     T_UNSET = 349,
     T_ISSET = 350,
     T_EMPTY = 351,
     T_HALT_COMPILER = 352,
     T_CLASS = 353,
     T_INTERFACE = 354,
     T_EXTENDS = 355,
     T_IMPLEMENTS = 356,
     T_OBJECT_OPERATOR = 357,
     T_DOUBLE_ARROW = 358,
     T_LIST = 359,
     T_ARRAY = 360,
     T_CLASS_C = 361,
     T_METHOD_C = 362,
     T_FUNC_C = 363,
     T_LINE = 364,
     T_FILE = 365,
     T_COMMENT = 366,
     T_DOC_COMMENT = 367,
     T_OPEN_TAG = 368,
     T_OPEN_TAG_WITH_ECHO = 369,
     T_CLOSE_TAG = 370,
     T_WHITESPACE = 371,
     T_START_HEREDOC = 372,
     T_END_HEREDOC = 373,
     T_DOLLAR_OPEN_CURLY_BRACES = 374,
     T_CURLY_OPEN = 375,
     T_PAAMAYIM_NEKUDOTAYIM = 376,
     T_NAMESPACE = 377,
     T_NS_C = 378,
     T_DIR = 379,
     T_NS_SEPARATOR = 380
   };

Function Documentation

static void yydestruct ( char *  yymsg,
int  yytype,
YYSTYPE yyvaluep 
) const [static]

Definition at line 3048 of file zend_language_parser.c.

{
  YYUSE (yyvaluep);

  if (!yymsg)
    yymsg = "Deleting";
  YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);

  switch (yytype)
    {

      default:
       break;
    }
}
int yyparse ( )
static char* yystpcpy ( char *  yydest,
const char *  yysrc 
) [static]

Definition at line 2863 of file zend_language_parser.c.

{
  char *yyd = yydest;
  const char *yys = yysrc;

  while ((*yyd++ = *yys++) != '\0')
    continue;

  return yyd - 1;
}

Here is the caller graph for this function:

static YYSIZE_T yystrlen ( char *  yystr) const [static]

Definition at line 2839 of file zend_language_parser.c.

{
  YYSIZE_T yylen;
  for (yylen = 0; yystr[yylen]; yylen++)
    continue;
  return yylen;
}

Here is the caller graph for this function:

static YYSIZE_T yysyntax_error ( char *  yyresult,
int  yystate,
int  yychar 
) [static]

Definition at line 2935 of file zend_language_parser.c.

{
  int yyn = yypact[yystate];

  if (! (YYPACT_NINF < yyn && yyn <= YYLAST))
    return 0;
  else
    {
      int yytype = YYTRANSLATE (yychar);
      YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
      YYSIZE_T yysize = yysize0;
      YYSIZE_T yysize1;
      int yysize_overflow = 0;
      enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
      char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
      int yyx;

# if 0
      /* This is so xgettext sees the translatable formats that are
        constructed on the fly.  */
      YY_("syntax error, unexpected %s");
      YY_("syntax error, unexpected %s, expecting %s");
      YY_("syntax error, unexpected %s, expecting %s or %s");
      YY_("syntax error, unexpected %s, expecting %s or %s or %s");
      YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
# endif
      char *yyfmt;
      char const *yyf;
      static char const yyunexpected[] = "syntax error, unexpected %s";
      static char const yyexpecting[] = ", expecting %s";
      static char const yyor[] = " or %s";
      char yyformat[sizeof yyunexpected
                  + sizeof yyexpecting - 1
                  + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
                     * (sizeof yyor - 1))];
      char const *yyprefix = yyexpecting;

      /* Start YYX at -YYN if negative to avoid negative indexes in
        YYCHECK.  */
      int yyxbegin = yyn < 0 ? -yyn : 0;

      /* Stay within bounds of both yycheck and yytname.  */
      int yychecklim = YYLAST - yyn + 1;
      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
      int yycount = 1;

      yyarg[0] = yytname[yytype];
      yyfmt = yystpcpy (yyformat, yyunexpected);

      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
       if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
         {
           if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
             {
              yycount = 1;
              yysize = yysize0;
              yyformat[sizeof yyunexpected - 1] = '\0';
              break;
             }
           yyarg[yycount++] = yytname[yyx];
           yysize1 = yysize + yytnamerr (0, yytname[yyx]);
           yysize_overflow |= (yysize1 < yysize);
           yysize = yysize1;
           yyfmt = yystpcpy (yyfmt, yyprefix);
           yyprefix = yyor;
         }

      yyf = YY_(yyformat);
      yysize1 = yysize + yystrlen (yyf);
      yysize_overflow |= (yysize1 < yysize);
      yysize = yysize1;

      if (yysize_overflow)
       return YYSIZE_MAXIMUM;

      if (yyresult)
       {
         /* Avoid sprintf, as that infringes on the user's name space.
            Don't have undefined behavior even if the translation
            produced a string with the wrong number of "%s"s.  */
         char *yyp = yyresult;
         int yyi = 0;
         while ((*yyp = *yyf) != '\0')
           {
             if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
              {
                yyp += yytnamerr (yyp, yyarg[yyi++]);
                yyf += 2;
              }
             else
              {
                yyp++;
                yyf++;
              }
           }
       }
      return yysize;
    }
}

Here is the call graph for this function:

static YYSIZE_T yytnamerr ( char *  yyres,
const char *  yystr 
) [static]

Definition at line 2888 of file zend_language_parser.c.

{
  if (*yystr == '"')
    {
      YYSIZE_T yyn = 0;
      char const *yyp = yystr;

      for (;;)
       switch (*++yyp)
         {
         case '\'':
         case ',':
           goto do_not_strip_quotes;

         case '\\':
           if (*++yyp != '\\')
             goto do_not_strip_quotes;
           /* Fall through.  */
         default:
           if (yyres)
             yyres[yyn] = *yyp;
           yyn++;
           break;

         case '"':
           if (yyres)
             yyres[yyn] = '\0';
           return yyn;
         }
    do_not_strip_quotes: ;
    }

  if (! yyres)
    return yystrlen (yystr);

  return yystpcpy (yyres, yystr) - yyres;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

const yytype_int16 yycheck[] [static]

Definition at line 1937 of file zend_language_parser.c.

const yytype_uint16 yydefact[] [static]

Definition at line 1172 of file zend_language_parser.c.

const yytype_int16 yydefgoto[] [static]
Initial value:
{
      -1,     1,     2,     4,    80,    81,   474,   341,   178,   179,
      82,   206,   347,   477,   805,    84,   522,   660,   596,   724,
     290,   599,   158,   598,   525,   728,   831,   532,   528,   771,
     527,   770,   162,   174,   742,   812,   861,   878,   881,   882,
     883,   887,   890,   318,   319,    85,    86,   220,    87,   495,
      88,   492,   356,    89,   355,    90,   494,   571,   572,   667,
     604,   850,   806,   610,   430,   613,   673,   833,   810,   778,
     664,   725,   858,   763,   869,   766,   799,   577,   578,   579,
     483,   484,   182,   183,   187,   641,   700,   747,   838,   874,
     701,   702,   703,   704,   784,   705,   156,   291,   292,   526,
      91,   325,   650,   280,   368,   369,   363,   365,   367,   649,
     502,   125,   496,   114,   708,   790,    93,   352,   559,   475,
     581,   582,   587,   588,   403,    94,   580,   146,   147,   419,
     595,   658,   723,   153,   209,   417,    95,   441,   442,    96,
     615,   466,   616,   172,    98,   461,    99,   100,   406,   591,
     719,   761,   826,   655,   718,   101,   102,   103,   104,   105,
     106,   107,   408,   514,   590,   515,   516,   108,   459,   460,
     622,   328,   329,   199,   200,   467,   557,   109,   322,   546,
     110
}

Definition at line 1267 of file zend_language_parser.c.

const yytype_int16 yypact[] [static]

Definition at line 1293 of file zend_language_parser.c.

const yytype_int16 yypgoto[] [static]
Initial value:
{
    -563,  -563,  -293,  -563,   -23,  -563,  -563,  -563,  -563,   491,
    -563,  -264,  -563,  -563,     2,  -563,  -563,  -563,  -563,  -563,
    -563,  -563,  -563,  -563,  -563,  -563,  -563,  -563,  -563,  -563,
    -563,  -563,  -563,  -563,  -563,  -563,  -563,  -563,  -563,  -563,
     -80,  -563,  -563,  -563,   352,   457,   467,  -109,  -563,  -563,
    -563,  -563,  -563,  -563,  -563,  -563,  -563,  -563,   235,   202,
     142,  -563,    39,  -563,  -563,  -563,  -376,  -563,  -563,    37,
    -563,  -563,  -563,  -563,  -563,  -563,  -563,  -562,  -563,   175,
    -395,  -563,  -563,   503,  -563,   183,  -563,  -563,  -563,  -563,
    -563,  -563,  -563,   120,  -563,  -563,  -563,  -510,  -563,  -563,
     -38,  -563,  -563,  -563,  -563,  -563,  -563,  -563,  -563,  -563,
    -563,  -563,  -563,     0,  -563,  -563,  -563,  -563,  -563,  -563,
    -563,  -563,  -563,  -563,  -563,   551,  -343,  -229,  -563,  -563,
    -563,  -563,  -563,  -563,  -563,   174,  -160,   278,  -563,  -563,
    -563,   209,  -563,   657,   646,  -463,   438,   820,  -563,  -563,
    -563,  -563,  -563,     3,  -563,  -207,  -563,    86,  -563,   -19,
     -24,  -563,   236,  -407,  -563,  -563,  -563,   -17,   204,   287,
    -563,  -563,  -563,   389,   169,  -563,  -563,  -563,  -563,  -563,
    -563
}

Definition at line 1388 of file zend_language_parser.c.

const yytype_uint16 yyr1[] [static]

Definition at line 1066 of file zend_language_parser.c.

const yytype_uint8 yyr2[] [static]

Definition at line 1118 of file zend_language_parser.c.

const yytype_uint16 yystos[] [static]

Definition at line 2460 of file zend_language_parser.c.

const yytype_int16 yytable[] [static]

Definition at line 1416 of file zend_language_parser.c.

const char* const yytname[] [static]

Definition at line 959 of file zend_language_parser.c.

const yytype_uint8 yytranslate[] [static]

Definition at line 649 of file zend_language_parser.c.