Parser.php 120 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721
  1. <?php
  2. /* This is an automatically GENERATED file, which should not be manually edited.
  3. * Instead edit one of the following:
  4. * * the grammar file grammar/zend_language_parser.phpy
  5. * * the parser skeleton grammar/kymacc.php.parser
  6. * * the preprocessing script grammar/rebuildParser.php
  7. *
  8. * The skeleton for this parser was written by Moriyoshi Koizumi and is based on
  9. * the work by Masato Bito and is in the PUBLIC DOMAIN.
  10. */
  11. class PHPParser_Parser
  12. {
  13. const TOKEN_NONE = -1;
  14. const TOKEN_INVALID = 151;
  15. const TOKEN_MAP_SIZE = 386;
  16. const YYLAST = 1008;
  17. const YY2TBLSTATE = 316;
  18. const YYGLAST = 444;
  19. const YYNLSTATES = 531;
  20. const YYUNEXPECTED = 32767;
  21. const YYDEFAULT = -32766;
  22. // {{{ Tokens
  23. const YYERRTOK = 256;
  24. const T_INCLUDE = 257;
  25. const T_INCLUDE_ONCE = 258;
  26. const T_EVAL = 259;
  27. const T_REQUIRE = 260;
  28. const T_REQUIRE_ONCE = 261;
  29. const T_LOGICAL_OR = 262;
  30. const T_LOGICAL_XOR = 263;
  31. const T_LOGICAL_AND = 264;
  32. const T_PRINT = 265;
  33. const T_YIELD = 266;
  34. const T_PLUS_EQUAL = 267;
  35. const T_MINUS_EQUAL = 268;
  36. const T_MUL_EQUAL = 269;
  37. const T_DIV_EQUAL = 270;
  38. const T_CONCAT_EQUAL = 271;
  39. const T_MOD_EQUAL = 272;
  40. const T_AND_EQUAL = 273;
  41. const T_OR_EQUAL = 274;
  42. const T_XOR_EQUAL = 275;
  43. const T_SL_EQUAL = 276;
  44. const T_SR_EQUAL = 277;
  45. const T_BOOLEAN_OR = 278;
  46. const T_BOOLEAN_AND = 279;
  47. const T_IS_EQUAL = 280;
  48. const T_IS_NOT_EQUAL = 281;
  49. const T_IS_IDENTICAL = 282;
  50. const T_IS_NOT_IDENTICAL = 283;
  51. const T_IS_SMALLER_OR_EQUAL = 284;
  52. const T_IS_GREATER_OR_EQUAL = 285;
  53. const T_SL = 286;
  54. const T_SR = 287;
  55. const T_INSTANCEOF = 288;
  56. const T_INC = 289;
  57. const T_DEC = 290;
  58. const T_INT_CAST = 291;
  59. const T_DOUBLE_CAST = 292;
  60. const T_STRING_CAST = 293;
  61. const T_ARRAY_CAST = 294;
  62. const T_OBJECT_CAST = 295;
  63. const T_BOOL_CAST = 296;
  64. const T_UNSET_CAST = 297;
  65. const T_NEW = 298;
  66. const T_CLONE = 299;
  67. const T_EXIT = 300;
  68. const T_IF = 301;
  69. const T_ELSEIF = 302;
  70. const T_ELSE = 303;
  71. const T_ENDIF = 304;
  72. const T_LNUMBER = 305;
  73. const T_DNUMBER = 306;
  74. const T_STRING = 307;
  75. const T_STRING_VARNAME = 308;
  76. const T_VARIABLE = 309;
  77. const T_NUM_STRING = 310;
  78. const T_INLINE_HTML = 311;
  79. const T_CHARACTER = 312;
  80. const T_BAD_CHARACTER = 313;
  81. const T_ENCAPSED_AND_WHITESPACE = 314;
  82. const T_CONSTANT_ENCAPSED_STRING = 315;
  83. const T_ECHO = 316;
  84. const T_DO = 317;
  85. const T_WHILE = 318;
  86. const T_ENDWHILE = 319;
  87. const T_FOR = 320;
  88. const T_ENDFOR = 321;
  89. const T_FOREACH = 322;
  90. const T_ENDFOREACH = 323;
  91. const T_DECLARE = 324;
  92. const T_ENDDECLARE = 325;
  93. const T_AS = 326;
  94. const T_SWITCH = 327;
  95. const T_ENDSWITCH = 328;
  96. const T_CASE = 329;
  97. const T_DEFAULT = 330;
  98. const T_BREAK = 331;
  99. const T_CONTINUE = 332;
  100. const T_GOTO = 333;
  101. const T_FUNCTION = 334;
  102. const T_CONST = 335;
  103. const T_RETURN = 336;
  104. const T_TRY = 337;
  105. const T_CATCH = 338;
  106. const T_FINALLY = 339;
  107. const T_THROW = 340;
  108. const T_USE = 341;
  109. const T_INSTEADOF = 342;
  110. const T_GLOBAL = 343;
  111. const T_STATIC = 344;
  112. const T_ABSTRACT = 345;
  113. const T_FINAL = 346;
  114. const T_PRIVATE = 347;
  115. const T_PROTECTED = 348;
  116. const T_PUBLIC = 349;
  117. const T_VAR = 350;
  118. const T_UNSET = 351;
  119. const T_ISSET = 352;
  120. const T_EMPTY = 353;
  121. const T_HALT_COMPILER = 354;
  122. const T_CLASS = 355;
  123. const T_TRAIT = 356;
  124. const T_INTERFACE = 357;
  125. const T_EXTENDS = 358;
  126. const T_IMPLEMENTS = 359;
  127. const T_OBJECT_OPERATOR = 360;
  128. const T_DOUBLE_ARROW = 361;
  129. const T_LIST = 362;
  130. const T_ARRAY = 363;
  131. const T_CALLABLE = 364;
  132. const T_CLASS_C = 365;
  133. const T_TRAIT_C = 366;
  134. const T_METHOD_C = 367;
  135. const T_FUNC_C = 368;
  136. const T_LINE = 369;
  137. const T_FILE = 370;
  138. const T_COMMENT = 371;
  139. const T_DOC_COMMENT = 372;
  140. const T_OPEN_TAG = 373;
  141. const T_OPEN_TAG_WITH_ECHO = 374;
  142. const T_CLOSE_TAG = 375;
  143. const T_WHITESPACE = 376;
  144. const T_START_HEREDOC = 377;
  145. const T_END_HEREDOC = 378;
  146. const T_DOLLAR_OPEN_CURLY_BRACES = 379;
  147. const T_CURLY_OPEN = 380;
  148. const T_PAAMAYIM_NEKUDOTAYIM = 381;
  149. const T_NAMESPACE = 382;
  150. const T_NS_C = 383;
  151. const T_DIR = 384;
  152. const T_NS_SEPARATOR = 385;
  153. // }}}
  154. /* @var array Map of token ids to their respective names */
  155. protected static $terminals = array(
  156. "EOF",
  157. "error",
  158. "T_INCLUDE",
  159. "T_INCLUDE_ONCE",
  160. "T_EVAL",
  161. "T_REQUIRE",
  162. "T_REQUIRE_ONCE",
  163. "','",
  164. "T_LOGICAL_OR",
  165. "T_LOGICAL_XOR",
  166. "T_LOGICAL_AND",
  167. "T_PRINT",
  168. "T_YIELD",
  169. "'='",
  170. "T_PLUS_EQUAL",
  171. "T_MINUS_EQUAL",
  172. "T_MUL_EQUAL",
  173. "T_DIV_EQUAL",
  174. "T_CONCAT_EQUAL",
  175. "T_MOD_EQUAL",
  176. "T_AND_EQUAL",
  177. "T_OR_EQUAL",
  178. "T_XOR_EQUAL",
  179. "T_SL_EQUAL",
  180. "T_SR_EQUAL",
  181. "'?'",
  182. "':'",
  183. "T_BOOLEAN_OR",
  184. "T_BOOLEAN_AND",
  185. "'|'",
  186. "'^'",
  187. "'&'",
  188. "T_IS_EQUAL",
  189. "T_IS_NOT_EQUAL",
  190. "T_IS_IDENTICAL",
  191. "T_IS_NOT_IDENTICAL",
  192. "'<'",
  193. "T_IS_SMALLER_OR_EQUAL",
  194. "'>'",
  195. "T_IS_GREATER_OR_EQUAL",
  196. "T_SL",
  197. "T_SR",
  198. "'+'",
  199. "'-'",
  200. "'.'",
  201. "'*'",
  202. "'/'",
  203. "'%'",
  204. "'!'",
  205. "T_INSTANCEOF",
  206. "'~'",
  207. "T_INC",
  208. "T_DEC",
  209. "T_INT_CAST",
  210. "T_DOUBLE_CAST",
  211. "T_STRING_CAST",
  212. "T_ARRAY_CAST",
  213. "T_OBJECT_CAST",
  214. "T_BOOL_CAST",
  215. "T_UNSET_CAST",
  216. "'@'",
  217. "'['",
  218. "T_NEW",
  219. "T_CLONE",
  220. "T_EXIT",
  221. "T_IF",
  222. "T_ELSEIF",
  223. "T_ELSE",
  224. "T_ENDIF",
  225. "T_LNUMBER",
  226. "T_DNUMBER",
  227. "T_STRING",
  228. "T_STRING_VARNAME",
  229. "T_VARIABLE",
  230. "T_NUM_STRING",
  231. "T_INLINE_HTML",
  232. "T_ENCAPSED_AND_WHITESPACE",
  233. "T_CONSTANT_ENCAPSED_STRING",
  234. "T_ECHO",
  235. "T_DO",
  236. "T_WHILE",
  237. "T_ENDWHILE",
  238. "T_FOR",
  239. "T_ENDFOR",
  240. "T_FOREACH",
  241. "T_ENDFOREACH",
  242. "T_DECLARE",
  243. "T_ENDDECLARE",
  244. "T_AS",
  245. "T_SWITCH",
  246. "T_ENDSWITCH",
  247. "T_CASE",
  248. "T_DEFAULT",
  249. "T_BREAK",
  250. "T_CONTINUE",
  251. "T_GOTO",
  252. "T_FUNCTION",
  253. "T_CONST",
  254. "T_RETURN",
  255. "T_TRY",
  256. "T_CATCH",
  257. "T_FINALLY",
  258. "T_THROW",
  259. "T_USE",
  260. "T_INSTEADOF",
  261. "T_GLOBAL",
  262. "T_STATIC",
  263. "T_ABSTRACT",
  264. "T_FINAL",
  265. "T_PRIVATE",
  266. "T_PROTECTED",
  267. "T_PUBLIC",
  268. "T_VAR",
  269. "T_UNSET",
  270. "T_ISSET",
  271. "T_EMPTY",
  272. "T_HALT_COMPILER",
  273. "T_CLASS",
  274. "T_TRAIT",
  275. "T_INTERFACE",
  276. "T_EXTENDS",
  277. "T_IMPLEMENTS",
  278. "T_OBJECT_OPERATOR",
  279. "T_DOUBLE_ARROW",
  280. "T_LIST",
  281. "T_ARRAY",
  282. "T_CALLABLE",
  283. "T_CLASS_C",
  284. "T_TRAIT_C",
  285. "T_METHOD_C",
  286. "T_FUNC_C",
  287. "T_LINE",
  288. "T_FILE",
  289. "T_START_HEREDOC",
  290. "T_END_HEREDOC",
  291. "T_DOLLAR_OPEN_CURLY_BRACES",
  292. "T_CURLY_OPEN",
  293. "T_PAAMAYIM_NEKUDOTAYIM",
  294. "T_NAMESPACE",
  295. "T_NS_C",
  296. "T_DIR",
  297. "T_NS_SEPARATOR",
  298. "';'",
  299. "'{'",
  300. "'}'",
  301. "'('",
  302. "')'",
  303. "'$'",
  304. "'`'",
  305. "']'",
  306. "'\"'"
  307. , "???"
  308. );
  309. /* @var array Map which translates lexer tokens to internal tokens */
  310. protected static $translate = array(
  311. 0, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  312. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  313. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  314. 151, 151, 151, 48, 150, 151, 147, 47, 31, 151,
  315. 145, 146, 45, 42, 7, 43, 44, 46, 151, 151,
  316. 151, 151, 151, 151, 151, 151, 151, 151, 26, 142,
  317. 36, 13, 38, 25, 60, 151, 151, 151, 151, 151,
  318. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  319. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  320. 151, 61, 151, 149, 30, 151, 148, 151, 151, 151,
  321. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  322. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  323. 151, 151, 151, 143, 29, 144, 50, 151, 151, 151,
  324. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  325. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  326. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  327. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  328. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  329. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  330. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  331. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  332. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  333. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  334. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  335. 151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
  336. 151, 151, 151, 151, 151, 151, 1, 2, 3, 4,
  337. 5, 6, 8, 9, 10, 11, 12, 14, 15, 16,
  338. 17, 18, 19, 20, 21, 22, 23, 24, 27, 28,
  339. 32, 33, 34, 35, 37, 39, 40, 41, 49, 51,
  340. 52, 53, 54, 55, 56, 57, 58, 59, 62, 63,
  341. 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
  342. 74, 75, 151, 151, 76, 77, 78, 79, 80, 81,
  343. 82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
  344. 92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
  345. 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
  346. 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
  347. 122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
  348. 132, 151, 151, 151, 151, 151, 151, 133, 134, 135,
  349. 136, 137, 138, 139, 140, 141
  350. );
  351. protected static $yyaction = array(
  352. 59, 60, 325, 61, 62,-32766,-32766,-32766, 324, 63,
  353. 64,-32767,-32767,-32767,-32767, 98, 99, 100, 101, 102,
  354. 57, 917,-32766, 298,-32766,-32766, 41, 106, 107, 108,
  355. 109, 110, 111, 112, 113, 114, 115, 116, 267, 346,
  356. 65, 66, 927, 249, 929, 928, 67, 535, 68, 220,
  357. 221, 69, 70, 71, 72, 73, 74, 75, 76, 31,
  358. 232, 77, 318, 326, 730, 732, 462, 836, 837, 362,
  359. 348, 895, 238, 578, 280, 363, 46, 27, 327, 859,
  360. 364, 246, 365, 454, 366, 39, 223, 328,-32766,-32766,
  361. -32766, 36, 37, 367, 333, 360, 38, 368, 329, 423,
  362. 78, 848, 122, 278, 279,-32766, 286,-32766, 35, 369,
  363. 370, 371, 372, 373, 389, 343, 861, 330, 560, 602,
  364. 374, 375, 376, 377, 848, 842, 843, 844, 845, 839,
  365. 840, 239, 82, 83, 84, -350, 389, 846, 841, 330,
  366. 584, 504, 126, 47, 227, 259, 244, 802, 248, 40,
  367. 351, 85, 86, 87, 88, 89, 90, 91, 92, 93,
  368. 94, 95, 96, 97, 98, 99, 100, 101, 102, 103,
  369. 104, 105, 788, 233, 576,-32766,-32766,-32766, 701, 702,
  370. 703, 700, 699, 698, 630, 0,-32766,-32766,-32766, 655,
  371. 656, 216,-32766, 215,-32766,-32766,-32766,-32766,-32766,-32767,
  372. -32767,-32767,-32767,-32766, 788, 322, 329, 319, 899, 544,
  373. -117, 257, 128, 277,-32766,-32766,-32766, 369, 370, 889,
  374. 693, 261, 895, 225, 226,-32766, 540, 602, 374, 375,
  375. 675, 535, 344,-32766, 535,-32766, 895, 376,-32766,-32766,
  376. -32766, 575,-32766, 53,-32766, 322,-32766, 658, 263,-32766,
  377. 187, 257, 600,-32766,-32766,-32766, 788,-32766,-32766,-32766,
  378. 693, 34,-32766, 535, 350,-32766, 388,-32766, 860, 812,
  379. -32766,-32766,-32766,-32766,-32766, 222,-32766, 54,-32766, 56,
  380. 127,-32766, 100, 101, 102,-32766,-32766,-32766, 788, 22,
  381. -32766,-32766, 601, 268,-32766, 924, 259,-32766, 388, 666,
  382. 631, 389,-32766,-32766, 330,-32766, 322, 224, 334,-32766,
  383. 259, 917, 257, 503, 861, 535, 103, 104, 105,-32766,
  384. 233, 693,-32766,-32766,-32766, 118,-32766, 494,-32766, 340,
  385. -32766, 506, 902,-32766,-32766,-32766, 126,-32766,-32766,-32766,
  386. 345,-32766,-32766,-32766, 213, 123,-32766, 535, 130,-32766,
  387. 388,-32766, 452, 599,-32766,-32766,-32766,-32766,-32766, 119,
  388. -32766, 120,-32766, 788, 233,-32766, 189, -113, 190,-32766,
  389. -32766,-32766, 194, 217,-32766,-32766, 195, 125,-32766,-32766,
  390. -32766,-32766, 388, 188, 685, 858,-32766,-32766, 117,-32766,
  391. 329, 319, 353, 28, 509, 788, 597, 277, 357, 468,
  392. 680, 369, 370, 516,-32766,-32766,-32766, 131, 287, 49,
  393. 540, 602, 374, 375, 477, 478,-32766, 520,-32766,-32766,
  394. 528,-32766, 535,-32766,-32766,-32766,-32766, 655, 656,-32766,
  395. -32766,-32766, 263,-32766, 519,-32766, 507,-32766, 542, 129,
  396. -32766, 679, 525, 588,-32766,-32766,-32766, 526,-32766,-32766,
  397. -32766, 690, 530,-32766, 535, 306,-32766, 388,-32766, 541,
  398. 511,-32766,-32766,-32766,-32766,-32766, 224,-32766, 50,-32766,
  399. 58, 482,-32766, 55, 805, 51,-32766,-32766,-32766, 788,
  400. 52,-32766,-32766, 416, 232,-32766, 502, 687,-32766, 388,
  401. 445, 491, 229,-32766,-32766, 551,-32766, 922, 549, 415,
  402. -32766, 339, 341, 535, 536, 399, 535, 400, 402, 414,
  403. -32766, -158, 401,-32766,-32766,-32766, 493,-32766, 479,-32766,
  404. 475,-32766, -161, 604,-32766,-32766,-32766, 265,-32766,-32766,
  405. -32766, 788,-32766,-32766,-32766, 266, 917,-32766, 535, 256,
  406. -32766, 388,-32766, 342, 212,-32766,-32766,-32766,-32766,-32766,
  407. 338,-32766, 471,-32766, 457, 473,-32766, 359, 603, 258,
  408. -32766,-32766,-32766, 788, 255,-32766,-32766, 577, 260,-32766,
  409. 376, 579,-32766, 388, 847, 247, 0,-32766,-32766, -350,
  410. -32766, 657, 0, 337,-32766, 0, 0, -351, 245, 0,
  411. 535, 121, 193, 42,-32766, -282, 791,-32766,-32766,-32766,
  412. 0,-32766, 0,-32766, 0,-32766, 0, 0,-32766, 570,
  413. -32766, -290,-32766,-32766,-32766, 788,-32766,-32766,-32766, -291,
  414. 499,-32766, 535, 300,-32766, 388,-32766, 288, 251,-32766,
  415. -32766,-32766,-32766,-32766, 242,-32766, 407,-32766, 684, 340,
  416. -32766, 686, 614, 616,-32766,-32766,-32766, 618, 563,-32766,
  417. -32766, 625, 624,-32766, 633, 580,-32766, 388, 565, 587,
  418. 574, 572,-32766, 513,-32766, 512, 45, 44,-32766, 569,
  419. 571, 573, 586, 545, 535, 683, 676, 234,-32766, 510,
  420. 515,-32766,-32766,-32766, 517,-32766, 522,-32766, 81,-32766,
  421. 124, 523,-32766,-32766,-32766, 524,-32766,-32766,-32766, 527,
  422. -32766,-32766,-32766, 505, 529,-32766, 535, 890,-32766, 388,
  423. -32766, 900, 668,-32766,-32766,-32766,-32766,-32766, 827,-32766,
  424. 892,-32766, 880, 894,-32766, 191, 192, 896,-32766,-32766,
  425. -32766, 923, 356,-32766,-32766, 623, 926,-32766, 622, 925,
  426. -32766, 388, 32, 33, 185, 568,-32766, 321,-32766, 317,
  427. 43, 262, 836, 837, 237,-32766,-32766, 236, 48,-32766,
  428. 838, 535, 235, 30, 219,-32766, 218, 214,-32766,-32766,
  429. -32766, 186,-32766, 80,-32766, 79,-32766,-32766,-32766,-32766,
  430. 768, 829, 767,-32766,-32766,-32766, 446, -114,-32766,-32766,
  431. 854, 659,-32766, 795, 792,-32766, 388, 498, 472, 437,
  432. 358, 354, 307,-32766, 289, 25, 24, 23, 442, -113,
  433. 842, 843, 844, 845, 839, 840, 309, 786, 0, 480,
  434. 874, 855, 846, 841, 329, 319, 921, 826,-32766, 329,
  435. -32766, 277,-32766,-32766, 891, 369, 370,-32766,-32766,-32766,
  436. 369, 370, 875, 879, 540, 602, 374, 375, 893, 560,
  437. 602, 374, 375, 329,-32766, 811,-32766,-32766,-32766,-32766,
  438. -32766, 799, 797, 798, 369, 370, 263, 329, 796, 0,
  439. 0, 329, 543, 560, 602, 374, 375, 598, 369, 370,
  440. 0, 0, 369, 370, 329, 0, 0, 560, 602, 374,
  441. 375, 560, 602, 374, 375, 369, 370, 0, 0, 0,
  442. 329, 691, 0, 0, 560, 602, 374, 375, 0, 0,
  443. 0, 369, 370, 329, 0, 790, 0, 329, 501, 591,
  444. 560, 602, 374, 375, 369, 370, 0, 0, 369, 370,
  445. 0, 329, 593, 560, 602, 374, 375, 560, 602, 374,
  446. 375, 0, 369, 370, 492, 0, 0, 0, 514, 0,
  447. 486, 560, 602, 374, 375, 329, 0, 0, 0, 329,
  448. 0, 561, 0, 0, 0, 789, 369, 370, 0, 0,
  449. 369, 370,-32766,-32766,-32766, 560, 602, 374, 375, 560,
  450. 602, 374, 375, 0, 329, 0, 0, 0, 0,-32766,
  451. 0,-32766,-32766,-32766,-32766, 369, 370, 0, 0, 0,
  452. 0, 0, 0, 0, 560, 602, 374, 375
  453. );
  454. protected static $yycheck = array(
  455. 2, 3, 4, 5, 6, 8, 9, 10, 7, 11,
  456. 12, 36, 37, 38, 39, 40, 41, 42, 43, 44,
  457. 61, 76, 25, 73, 27, 28, 13, 14, 15, 16,
  458. 17, 18, 19, 20, 21, 22, 23, 24, 61, 7,
  459. 42, 43, 71, 76, 73, 74, 48, 71, 50, 51,
  460. 52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
  461. 62, 63, 64, 65, 51, 52, 76, 69, 70, 71,
  462. 71, 73, 7, 75, 7, 77, 78, 79, 80, 134,
  463. 82, 122, 84, 81, 86, 135, 136, 89, 8, 9,
  464. 10, 93, 94, 95, 96, 7, 98, 99, 96, 122,
  465. 102, 134, 143, 105, 106, 25, 7, 27, 7, 107,
  466. 108, 113, 114, 115, 138, 26, 117, 141, 116, 117,
  467. 118, 119, 124, 125, 134, 127, 128, 129, 130, 131,
  468. 132, 133, 8, 9, 10, 122, 138, 139, 140, 141,
  469. 142, 143, 143, 145, 31, 147, 148, 146, 150, 25,
  470. 7, 27, 28, 29, 30, 31, 32, 33, 34, 35,
  471. 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
  472. 46, 47, 12, 49, 142, 8, 9, 10, 106, 107,
  473. 108, 109, 110, 111, 26, 0, 8, 9, 10, 125,
  474. 126, 31, 25, 7, 27, 28, 29, 30, 31, 32,
  475. 33, 34, 35, 25, 12, 97, 96, 97, 71, 142,
  476. 146, 103, 61, 103, 8, 9, 10, 107, 108, 73,
  477. 112, 7, 73, 31, 7, 65, 116, 117, 118, 119,
  478. 142, 71, 143, 8, 71, 75, 73, 124, 78, 79,
  479. 80, 142, 82, 61, 84, 97, 86, 146, 138, 89,
  480. 7, 103, 144, 93, 94, 95, 12, 65, 98, 99,
  481. 112, 7, 102, 71, 71, 105, 106, 75, 71, 106,
  482. 78, 79, 80, 113, 82, 31, 84, 61, 86, 61,
  483. 143, 89, 42, 43, 44, 93, 94, 95, 12, 146,
  484. 98, 99, 144, 147, 102, 144, 147, 105, 106, 73,
  485. 142, 138, 142, 143, 141, 113, 97, 31, 145, 65,
  486. 147, 76, 103, 71, 117, 71, 45, 46, 47, 75,
  487. 49, 112, 78, 79, 80, 143, 82, 71, 84, 141,
  488. 86, 143, 146, 89, 142, 143, 143, 93, 94, 95,
  489. 7, 65, 98, 99, 123, 7, 102, 71, 143, 105,
  490. 106, 75, 147, 144, 78, 79, 80, 113, 82, 143,
  491. 84, 143, 86, 12, 49, 89, 13, 146, 13, 93,
  492. 94, 95, 13, 147, 98, 99, 13, 26, 102, 8,
  493. 9, 105, 106, 13, 142, 150, 142, 143, 13, 113,
  494. 96, 97, 66, 67, 26, 12, 31, 103, 66, 67,
  495. 144, 107, 108, 26, 8, 9, 10, 91, 92, 61,
  496. 116, 117, 118, 119, 100, 101, 65, 26, 142, 143,
  497. 26, 25, 71, 27, 28, 29, 75, 125, 126, 78,
  498. 79, 80, 138, 82, 26, 84, 26, 86, 144, 26,
  499. 89, 142, 143, 26, 93, 94, 95, 26, 65, 98,
  500. 99, 142, 143, 102, 71, 72, 105, 106, 75, 142,
  501. 143, 78, 79, 80, 113, 82, 31, 84, 61, 86,
  502. 61, 68, 89, 61, 73, 61, 93, 94, 95, 12,
  503. 61, 98, 99, 88, 62, 102, 71, 71, 105, 106,
  504. 88, 71, 88, 142, 143, 71, 113, 71, 71, 71,
  505. 65, 71, 71, 71, 71, 71, 71, 71, 71, 71,
  506. 75, 88, 73, 78, 79, 80, 73, 82, 73, 84,
  507. 73, 86, 73, 117, 89, 142, 143, 76, 93, 94,
  508. 95, 12, 65, 98, 99, 76, 76, 102, 71, 121,
  509. 105, 106, 75, 80, 88, 78, 79, 80, 113, 82,
  510. 96, 84, 90, 86, 90, 103, 89, 96, 117, 104,
  511. 93, 94, 95, 12, 120, 98, 99, 142, 120, 102,
  512. 124, 142, 105, 106, 134, 122, -1, 142, 143, 122,
  513. 113, 146, -1, 141, 65, -1, -1, 122, 122, -1,
  514. 71, 123, 123, 123, 75, 137, 146, 78, 79, 80,
  515. -1, 82, -1, 84, -1, 86, -1, -1, 89, 142,
  516. 143, 137, 93, 94, 95, 12, 65, 98, 99, 137,
  517. 137, 102, 71, 137, 105, 106, 75, 137, 137, 78,
  518. 79, 80, 113, 82, 137, 84, 141, 86, 142, 141,
  519. 89, 142, 142, 142, 93, 94, 95, 142, 142, 98,
  520. 99, 142, 142, 102, 142, 142, 105, 106, 142, 142,
  521. 142, 142, 143, 142, 113, 142, 142, 142, 65, 142,
  522. 142, 142, 142, 142, 71, 142, 142, 145, 75, 143,
  523. 143, 78, 79, 80, 143, 82, 143, 84, 143, 86,
  524. 143, 143, 89, 142, 143, 143, 93, 94, 95, 143,
  525. 65, 98, 99, 143, 143, 102, 71, 144, 105, 106,
  526. 75, 144, 144, 78, 79, 80, 113, 82, 144, 84,
  527. 144, 86, 144, 144, 89, 42, 43, 144, 93, 94,
  528. 95, 144, 144, 98, 99, 144, 144, 102, 144, 144,
  529. 105, 106, 145, 145, 61, 142, 143, 145, 113, 145,
  530. 145, 145, 69, 70, 145, 65, 73, 145, 145, 145,
  531. 77, 71, 145, 145, 145, 75, 145, 145, 78, 79,
  532. 80, 145, 82, 145, 84, 145, 86, 142, 143, 89,
  533. 146, 146, 146, 93, 94, 95, 146, 146, 98, 99,
  534. 146, 146, 102, 146, 146, 105, 106, 146, 146, 146,
  535. 146, 146, 146, 113, 146, 146, 146, 146, 125, 146,
  536. 127, 128, 129, 130, 131, 132, 133, 148, -1, 149,
  537. 149, 149, 139, 140, 96, 97, 149, 149, 145, 96,
  538. 147, 103, 142, 143, 149, 107, 108, 8, 9, 10,
  539. 107, 108, 149, 149, 116, 117, 118, 119, 149, 116,
  540. 117, 118, 119, 96, 25, 149, 27, 28, 29, 30,
  541. 31, 149, 149, 149, 107, 108, 138, 96, 149, -1,
  542. -1, 96, 144, 116, 117, 118, 119, 144, 107, 108,
  543. -1, -1, 107, 108, 96, -1, -1, 116, 117, 118,
  544. 119, 116, 117, 118, 119, 107, 108, -1, -1, -1,
  545. 96, 144, -1, -1, 116, 117, 118, 119, -1, -1,
  546. -1, 107, 108, 96, -1, 144, -1, 96, 83, 144,
  547. 116, 117, 118, 119, 107, 108, -1, -1, 107, 108,
  548. -1, 96, 144, 116, 117, 118, 119, 116, 117, 118,
  549. 119, -1, 107, 108, 85, -1, -1, -1, 144, -1,
  550. 87, 116, 117, 118, 119, 96, -1, -1, -1, 96,
  551. -1, 144, -1, -1, -1, 144, 107, 108, -1, -1,
  552. 107, 108, 8, 9, 10, 116, 117, 118, 119, 116,
  553. 117, 118, 119, -1, 96, -1, -1, -1, -1, 25,
  554. -1, 27, 28, 29, 30, 107, 108, -1, -1, -1,
  555. -1, -1, -1, -1, 116, 117, 118, 119
  556. );
  557. protected static $yybase = array(
  558. 0, 728, 294, 110, 817, 804, 2, 863, 859, 733,
  559. 821, 788, 771, 835, 775, 757, 888, 888, 888, 888,
  560. 888, 368, 377, 391, 394, 391, 410, -2, -2, -2,
  561. 435, 244, 244, 635, 244, 276, 603, 467, 519, 383,
  562. 351, 160, 192, 551, 551, 551, 551, 690, 690, 551,
  563. 551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
  564. 551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
  565. 551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
  566. 551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
  567. 551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
  568. 551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
  569. 551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
  570. 551, 551, 551, 551, 551, 551, 551, 551, 551, 551,
  571. 551, 551, 158, 429, 468, 470, 527, 528, 529, 530,
  572. 450, 456, 634, 587, 583, 413, 579, 578, 576, 574,
  573. 568, 588, 567, 670, 563, 124, 124, 124, 124, 124,
  574. 124, 124, 124, 124, 124, 225, 371, 206, 206, 206,
  575. 206, 206, 206, 206, 206, 206, 206, 206, 206, 206,
  576. 206, 206, 178, 178, 80, 683, 683, 683, 683, 683,
  577. 683, 683, 683, 683, 683, 683, -3, 396, 964, 829,
  578. 167, 167, 167, 167, 13, -25, -25, -25, -25, 148,
  579. 108, 209, 113, 113, 446, 446, 422, 547, 163, 163,
  580. 163, 163, 163, 163, 163, 163, 163, 163, 449, 415,
  581. 240, 240, 614, 614, 64, 64, 64, 64, 302, -33,
  582. -55, 235, -1, 256, 451, 137, 137, 137, 459, 440,
  583. 460, 193, 271, 271, 271, -24, -24, -24, -24, 545,
  584. -24, -24, -24, 188, 216, -50, -50, -29, 205, 464,
  585. 594, 462, 591, 299, 482, -41, 317, 442, 226, 454,
  586. 442, 326, 332, 314, 458, 89, 226, 158, 197, 309,
  587. 218, 425, 428, 531, 395, 67, 99, 32, -23, 182,
  588. 146, 143, 402, 640, 636, 186, 151, 465, 101, -10,
  589. 182, 221, 534, 88, 1, 533, 242, 365, 598, 436,
  590. 618, 438, 436, 445, 365, 613, 613, 613, 613, 365,
  591. 432, 618, 618, 365, 422, 618, 254, 432, 365, 444,
  592. 432, 448, 613, 523, 521, 436, 439, 418, 618, 618,
  593. 618, 438, 365, 613, 452, 243, 618, 613, 452, 365,
  594. 445, 185, 417, 348, 605, 630, 602, 434, 560, 441,
  595. 406, 621, 619, 628, 437, 430, 622, 597, 495, 518,
  596. 431, 375, 407, 414, 419, 497, 412, 466, 454, 498,
  597. 315, 457, 491, 457, 719, 486, 474, 453, 463, 517,
  598. 370, 353, 536, 495, 648, 656, 669, 433, 532, 653,
  599. 457, 714, 525, 338, 355, 617, 427, 457, 612, 457,
  600. 537, 457, 647, 426, 592, 495, 315, 315, 315, 645,
  601. 713, 712, 706, 699, 694, 693, 685, 409, 678, 516,
  602. 655, 65, 626, 458, 490, 424, 513, 214, 677, 457,
  603. 457, 541, 545, 457, 512, 524, 661, 510, 652, 447,
  604. 469, 672, 440, 654, 457, 461, 671, 214, 408, 403,
  605. 641, 509, 543, 604, 548, 359, 644, 606, 552, 363,
  606. 595, 421, 506, 660, 659, 663, 505, 556, 420, 401,
  607. 443, 609, 501, 651, 423, 483, 455, 404, 561, 416,
  608. 658, 500, 499, 496, 0, 0, 0, 0, 0, 0,
  609. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  610. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  611. 0, 0, -2, -2, -2, -2, -2, -2, -2, -2,
  612. -2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
  613. -2, -2, -2, -2, -2, -2, -2, -2, 0, 0,
  614. 0, -2, -2, -2, -2, -2, -2, -2, -2, -2,
  615. -2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
  616. -2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
  617. -2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
  618. -2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
  619. -2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
  620. -2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
  621. -2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
  622. -2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
  623. -2, -2, -2, -2, -2, -2, -2, -2, -2, -2,
  624. -2, -2, -2, 124, 124, 124, 124, 124, 124, 124,
  625. 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
  626. 124, 124, 124, 124, 124, 124, 0, 0, 0, 0,
  627. 0, 0, 0, 0, 0, 0, 124, 124, 124, 124,
  628. 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
  629. 124, 124, 124, 124, 124, 124, 163, 163, 163, 163,
  630. 163, 163, 163, 163, 163, 163, 163, 124, 124, 124,
  631. 124, 124, 124, 124, 124, 0, 271, 271, 271, 271,
  632. 72, 72, 72, 163, 163, 163, 163, 163, 163, 0,
  633. 0, 0, 0, 0, 0, 0, 0, 0, 0, 72,
  634. 72, 271, 271, 163, 163, -24, -24, -24, -24, -24,
  635. -50, -50, -50, 146, -24, -50, 149, 149, 149, -50,
  636. -50, -50, 146, 0, 0, 0, 0, 0, 0, 0,
  637. 149, 0, 0, 0, 432, 618, 0, 0, 0, 149,
  638. 316, 316, 316, 316, 214, 182, 0, 495, 432, 0,
  639. 439, 432, 0, 0, 0, 618, 0, 0, 0, 0,
  640. 0, 0, 338, 532, 333, 495, 0, 0, 0, 0,
  641. 0, 0, 0, 495, 217, 217, 0, 0, 409, 0,
  642. 0, 0, 0, 333, 0, 0, 214
  643. );
  644. protected static $yydefault = array(
  645. 3,32767,32767, 1,32767,32767,32767,32767,32767,32767,
  646. 32767,32767,32767,32767,32767,32767, 106, 98, 112, 97,
  647. 108,32767,32767,32767,32767,32767,32767,32767,32767,32767,
  648. 32767, 377, 377,32767, 334,32767,32767,32767,32767,32767,
  649. 32767,32767,32767, 179, 179, 179,32767,32767,32767, 366,
  650. 366, 366, 366, 366, 366, 366, 366, 366, 366,32767,
  651. 32767,32767,32767,32767, 257,32767,32767,32767,32767,32767,
  652. 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
  653. 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
  654. 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
  655. 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
  656. 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
  657. 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
  658. 32767,32767,32767,32767, 262, 382,32767,32767,32767,32767,
  659. 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
  660. 32767,32767,32767,32767,32767, 238, 239, 241, 242, 178,
  661. 367, 131, 263, 381, 177, 205, 207, 256, 206, 183,
  662. 188, 189, 190, 191, 192, 193, 194, 195, 196, 197,
  663. 198, 182, 235, 234, 203, 331, 331, 334,32767,32767,
  664. 32767,32767,32767,32767,32767,32767, 204, 208, 210, 209,
  665. 225, 226, 223, 224, 181, 227, 228, 229, 230, 163,
  666. 163, 163,32767,32767, 376, 376,32767,32767,32767,32767,
  667. 32767,32767,32767,32767,32767,32767,32767,32767, 164,32767,
  668. 217, 218, 292, 292, 122, 122, 122, 122, 122,32767,
  669. 32767,32767,32767,32767, 300,32767,32767,32767,32767,32767,
  670. 302,32767, 212, 213, 211,32767,32767,32767,32767,32767,
  671. 32767,32767,32767,32767, 339, 301,32767,32767,32767,32767,
  672. 32767,32767,32767,32767, 352, 288,32767,32767,32767, 281,
  673. 32767, 109, 111, 61, 318,32767,32767,32767,32767,32767,
  674. 357,32767,32767,32767, 17,32767,32767,32767, 389, 352,
  675. 32767,32767, 19,32767,32767,32767,32767, 233,32767,32767,
  676. 356, 350,32767,32767,32767,32767,32767, 65, 297,32767,
  677. 303,32767,32767,32767, 65,32767,32767,32767,32767, 65,
  678. 32767, 355, 354, 65,32767, 282, 333,32767, 65, 76,
  679. 32767, 74,32767, 95, 95,32767,32767, 78, 329, 345,
  680. 32767,32767, 65,32767, 270, 333,32767,32767, 270, 65,
  681. 32767,32767, 4, 307,32767,32767,32767,32767,32767,32767,
  682. 32767,32767,32767,32767,32767,32767,32767,32767, 283,32767,
  683. 32767,32767, 253, 254, 341,32767, 342,32767, 281,32767,
  684. 221, 200,32767, 202,32767,32767, 286, 289,32767,32767,
  685. 32767, 140,32767, 284,32767, 186,32767,32767,32767,32767,
  686. 384,32767,32767, 180,32767,32767,32767, 136,32767, 63,
  687. 32767, 374,32767,32767, 350, 285, 214, 215, 216,32767,
  688. 32767,32767,32767,32767,32767,32767,32767, 351,32767,32767,
  689. 32767, 116,32767, 318,32767,32767,32767, 77,32767, 184,
  690. 132,32767,32767, 383,32767,32767,32767,32767,32767,32767,
  691. 338,32767,32767,32767, 64,32767,32767, 79,32767,32767,
  692. 350,32767,32767,32767,32767, 120,32767,32767,32767, 175,
  693. 32767,32767,32767,32767,32767, 350,32767,32767,32767,32767,
  694. 32767,32767,32767,32767, 4,32767, 157,32767,32767,32767,
  695. 32767,32767,32767,32767, 25, 25, 3, 25, 103, 25,
  696. 143, 3, 95, 95, 58, 143, 25, 143, 25, 25,
  697. 25, 25, 25, 25, 25, 150, 25, 25, 25, 25,
  698. 25
  699. );
  700. protected static $yygoto = array(
  701. 161, 135, 135, 140, 135, 161, 136, 137, 138, 143,
  702. 145, 169, 163, 159, 159, 159, 159, 140, 140, 160,
  703. 160, 160, 160, 160, 160, 160, 160, 160, 160, 155,
  704. 156, 157, 158, 167, 134, 750, 751, 390, 753, 774,
  705. 775, 776, 777, 778, 779, 780, 782, 718, 139, 141,
  706. 142, 144, 165, 166, 168, 184, 196, 197, 198, 199,
  707. 200, 201, 202, 203, 205, 206, 207, 208, 230, 231,
  708. 252, 253, 254, 426, 427, 428, 170, 171, 172, 173,
  709. 174, 175, 176, 177, 178, 179, 180, 181, 146, 147,
  710. 148, 162, 149, 164, 150, 182, 151, 152, 153, 183,
  711. 154, 132, 443, 443, 443, 443, 443, 443, 443, 443,
  712. 443, 443, 443, 311, 485, 421, 421, 449, 417, 419,
  713. 419, 391, 393, 410, 424, 450, 453, 464, 470, 335,
  714. 335, 335, 335, 335, 335, 335, 335, 335, 335, 335,
  715. 335, 335, 335, 335, 335, 646, 646, 906, 906, 813,
  716. 813, 654, 654, 654, 654, 654, 405, 538, 538, 538,
  717. 495, 444, 444, 444, 444, 444, 444, 444, 444, 444,
  718. 444, 444, 611, 611, 611, 611, 270, 606, 612, 490,
  719. 392, 392, 392, 392, 392, 392, 392, 392, 392, 392,
  720. 392, 392, 392, 392, 392, 392, 539, 539, 539, 582,
  721. 395, 395, 5, 878, 16, 210, 6, 211, 396, 396,
  722. 537, 537, 537, 7, 422, 17, 18, 8, 19, 9,
  723. 10, 11, 910, 20, 12, 13, 14, 15, 455, 483,
  724. 632, 617, 615, 613, 615, 508, 398, 641, 636, 850,
  725. 850, 850, 850, 850, 850, 850, 850, 850, 850, 850,
  726. 430, 431, 432, 433, 434, 435, 436, 438, 466, 835,
  727. 458, 463, 500, 467, 273, 315, 830, 1, 697, 316,
  728. 809, 810, 2, 771, 26, 21, 285, 554, 672, 621,
  729. 852, 853, 868, 652, 707, 276, 661, 807, 877, 807,
  730. 439, 291, 250, 885, 885, 808, 241, 886, 886, 294,
  731. 476, 29, 294, 916, 916, 481, 901, 901, 901, 866,
  732. 292, 484, 919, 916, 408, 903, 299, 299, 299, 418,
  733. 884, 304, 397, 397, 429, 716, 762, 404, 919, 919,
  734. 299, 825, 824, 459, 650, 546, 664, 851, 518, 310,
  735. 488, 404, 404, 312, 271, 272, 552, 804, 669, 620,
  736. 863, 487, 403, 0, 705, 0, 0, 0, 0, 302,
  737. 0, 0, 425, 0, 0, 0, 0, 0, 0, 0,
  738. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  739. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  740. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  741. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  742. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  743. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  744. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  745. 0, 0, 0, 409
  746. );
  747. protected static $yygcheck = array(
  748. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  749. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  750. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  751. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  752. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  753. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  754. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  755. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  756. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  757. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  758. 24, 24, 38, 38, 38, 38, 38, 38, 38, 38,
  759. 38, 38, 38, 32, 32, 32, 32, 32, 32, 32,
  760. 32, 32, 32, 32, 32, 32, 32, 32, 32, 38,
  761. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  762. 38, 38, 38, 38, 38, 53, 53, 53, 53, 38,
  763. 38, 38, 38, 38, 38, 38, 75, 6, 6, 6,
  764. 38, 92, 92, 92, 92, 92, 92, 92, 92, 92,
  765. 92, 92, 38, 38, 38, 38, 48, 38, 38, 38,
  766. 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
  767. 89, 89, 89, 89, 89, 89, 7, 7, 7, 31,
  768. 89, 89, 13, 57, 13, 44, 13, 44, 92, 92,
  769. 5, 5, 5, 13, 83, 13, 13, 13, 13, 13,
  770. 13, 13, 112, 13, 13, 13, 13, 13, 21, 21,
  771. 5, 5, 5, 5, 5, 5, 5, 5, 5, 99,
  772. 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
  773. 84, 84, 84, 84, 84, 84, 84, 84, 84, 57,
  774. 40, 40, 40, 46, 46, 46, 15, 2, 72, 72,
  775. 57, 57, 2, 15, 15, 15, 15, 12, 12, 12,
  776. 12, 12, 12, 12, 12, 4, 59, 57, 57, 57,
  777. 15, 28, 98, 91, 91, 57, 98, 90, 90, 4,
  778. 101, 15, 4, 113, 113, 15, 91, 91, 91, 104,
  779. 39, 30, 113, 113, 39, 110, 96, 96, 96, 39,
  780. 91, 29, 95, 95, 25, 75, 76, 25, 113, 113,
  781. 96, 97, 97, 39, 55, 10, 60, 100, 50, 96,
  782. 39, 25, 25, 9, 48, 48, 11, 87, 61, 47,
  783. 103, 82, 4, -1, 74, -1, -1, -1, -1, 4,
  784. -1, -1, 4, -1, -1, -1, -1, -1, -1, -1,
  785. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  786. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  787. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  788. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  789. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  790. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  791. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  792. -1, -1, -1, 75
  793. );
  794. protected static $yygbase = array(
  795. 0, 0, -239, 0, 22, 209, 156, 195, 0, 21,
  796. 55, 1, 89, -303, 0, -52, 0, 0, 0, 0,
  797. 0, 184, 0, 0, -30, 294, 0, 0, 245, 102,
  798. 98, 174, -99, 0, 0, 0, 0, 0, -83, -19,
  799. 25, 0, 0, 0, -310, 0, 7, -2, -168, 0,
  800. 51, 0, 0, -67, 0, 96, 0, -61, 0, 251,
  801. 50, 2, 0, 0, 0, 0, 0, 0, 0, 0,
  802. 0, 0, 40, 0, -6, 109, 93, 0, 0, 0,
  803. 0, 0, -7, 182, 200, 0, 0, 23, 0, -32,
  804. 65, 61, -24, 0, 0, 90, 71, 85, 48, 54,
  805. 49, 114, 0, -5, 122, 0, 0, 0, 0, 0,
  806. 100, 0, 188, 63, 0
  807. );
  808. protected static $yygdefault = array(
  809. -32768, 361, 3, 533, 378, 557, 558, 559, 295, 293,
  810. 547, 553, 460, 4, 555, 763, 281, 562, 282, 469,
  811. 564, 412, 566, 567, 133, 379, 296, 297, 413, 303,
  812. 456, 581, 204, 301, 583, 283, 585, 590, 284, 489,
  813. 440, 380, 347, 451, 209, 420, 447, 619, 269, 627,
  814. 521, 635, 638, 381, 441, 649, 352, 806, 308, 660,
  815. 665, 670, 673, 323, 313, 465, 677, 678, 243, 682,
  816. 496, 497, 696, 228, 704, 717, 320, 781, 783, 382,
  817. 383, 406, 474, 394, 411, 800, 314, 803, 384, 385,
  818. 331, 332, 821, 818, 275, 871, 274, 349, 240, 856,
  819. 857, 461, 355, 909, 867, 264, 386, 387, 290, 305,
  820. 904, 336, 911, 918, 448
  821. );
  822. protected static $yylhs = array(
  823. 0, 1, 2, 2, 4, 4, 3, 3, 3, 3,
  824. 3, 3, 3, 3, 3, 8, 8, 10, 10, 10,
  825. 10, 9, 9, 11, 13, 13, 14, 14, 14, 14,
  826. 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
  827. 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
  828. 5, 5, 5, 5, 5, 5, 5, 5, 35, 35,
  829. 37, 36, 36, 29, 29, 39, 39, 6, 7, 7,
  830. 7, 41, 41, 41, 42, 42, 45, 45, 43, 43,
  831. 46, 46, 22, 22, 31, 31, 34, 34, 33, 33,
  832. 47, 23, 23, 23, 23, 48, 48, 49, 49, 50,
  833. 50, 20, 20, 16, 16, 51, 18, 18, 52, 17,
  834. 17, 19, 19, 30, 30, 30, 40, 40, 54, 54,
  835. 55, 55, 56, 56, 56, 56, 57, 57, 57, 58,
  836. 58, 59, 59, 26, 26, 60, 60, 60, 27, 27,
  837. 61, 61, 44, 44, 62, 62, 62, 62, 67, 67,
  838. 68, 68, 69, 69, 69, 69, 70, 71, 71, 66,
  839. 66, 63, 63, 65, 65, 73, 73, 72, 72, 72,
  840. 72, 72, 72, 64, 64, 74, 74, 28, 28, 21,
  841. 21, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  842. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  843. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  844. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  845. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  846. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  847. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  848. 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
  849. 15, 15, 25, 25, 79, 79, 80, 80, 80, 75,
  850. 82, 82, 86, 86, 87, 88, 88, 88, 88, 88,
  851. 88, 92, 92, 38, 38, 38, 76, 76, 93, 93,
  852. 89, 89, 94, 94, 94, 94, 94, 77, 77, 77,
  853. 81, 81, 81, 85, 85, 99, 99, 99, 99, 99,
  854. 99, 99, 99, 99, 99, 99, 99, 99, 99, 12,
  855. 12, 12, 12, 12, 12, 78, 78, 78, 78, 100,
  856. 100, 101, 101, 103, 103, 102, 102, 104, 104, 32,
  857. 32, 32, 32, 106, 106, 105, 105, 105, 105, 105,
  858. 107, 107, 91, 91, 95, 95, 90, 90, 108, 108,
  859. 108, 108, 96, 96, 96, 96, 84, 84, 97, 97,
  860. 97, 53, 109, 109, 110, 110, 110, 83, 83, 111,
  861. 111, 112, 112, 112, 112, 98, 98, 98, 98, 113,
  862. 113, 113, 113, 113, 113, 113, 114, 114, 114
  863. );
  864. protected static $yylen = array(
  865. 1, 1, 2, 0, 1, 3, 1, 1, 1, 1,
  866. 3, 5, 4, 3, 3, 3, 1, 1, 3, 2,
  867. 4, 3, 1, 3, 2, 0, 1, 1, 1, 1,
  868. 3, 5, 8, 3, 5, 9, 3, 2, 3, 2,
  869. 3, 2, 3, 2, 3, 3, 3, 1, 2, 5,
  870. 7, 9, 5, 1, 6, 3, 3, 2, 0, 2,
  871. 8, 0, 4, 1, 3, 0, 1, 9, 7, 6,
  872. 5, 1, 2, 2, 0, 2, 0, 2, 0, 2,
  873. 1, 3, 1, 4, 1, 4, 1, 4, 1, 3,
  874. 3, 3, 4, 4, 5, 0, 2, 4, 3, 1,
  875. 1, 1, 4, 0, 2, 3, 0, 2, 4, 0,
  876. 2, 0, 3, 1, 2, 1, 1, 0, 1, 3,
  877. 3, 5, 0, 1, 1, 1, 2, 3, 3, 1,
  878. 3, 1, 2, 3, 1, 1, 2, 4, 3, 1,
  879. 1, 3, 2, 0, 3, 3, 8, 3, 1, 3,
  880. 0, 2, 4, 5, 4, 4, 3, 1, 1, 1,
  881. 3, 1, 1, 0, 1, 1, 2, 1, 1, 1,
  882. 1, 1, 1, 1, 3, 1, 3, 3, 1, 0,
  883. 1, 1, 3, 3, 4, 4, 1, 2, 3, 3,
  884. 3, 3, 3, 3, 3, 3, 3, 3, 3, 2,
  885. 2, 2, 2, 3, 3, 3, 3, 3, 3, 3,
  886. 3, 3, 3, 3, 3, 3, 3, 3, 3, 2,
  887. 2, 2, 2, 3, 3, 3, 3, 3, 3, 3,
  888. 3, 3, 1, 3, 5, 4, 4, 4, 2, 2,
  889. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  890. 2, 2, 1, 1, 1, 3, 2, 1, 9, 10,
  891. 3, 3, 2, 4, 4, 3, 4, 4, 4, 3,
  892. 0, 4, 1, 3, 2, 2, 4, 6, 2, 2,
  893. 4, 1, 1, 1, 2, 3, 1, 1, 1, 1,
  894. 1, 1, 0, 3, 3, 4, 4, 0, 2, 1,
  895. 0, 1, 1, 0, 1, 1, 1, 1, 1, 1,
  896. 1, 1, 1, 1, 1, 1, 3, 2, 1, 1,
  897. 3, 2, 2, 4, 3, 1, 3, 3, 3, 1,
  898. 1, 0, 2, 0, 1, 3, 1, 3, 1, 1,
  899. 1, 1, 1, 6, 4, 3, 4, 2, 4, 4,
  900. 1, 3, 1, 2, 1, 1, 4, 1, 3, 6,
  901. 4, 4, 4, 4, 1, 4, 0, 1, 1, 3,
  902. 1, 4, 3, 1, 1, 1, 0, 0, 2, 3,
  903. 1, 3, 1, 4, 2, 2, 2, 1, 2, 1,
  904. 4, 3, 3, 3, 6, 3, 1, 1, 1
  905. );
  906. protected $yyval;
  907. protected $yyastk;
  908. protected $stackPos;
  909. protected $lexer;
  910. /**
  911. * Creates a parser instance.
  912. *
  913. * @param PHPParser_Lexer $lexer A lexer
  914. */
  915. public function __construct(PHPParser_Lexer $lexer) {
  916. $this->lexer = $lexer;
  917. }
  918. /**
  919. * Parses PHP code into a node tree.
  920. *
  921. * @param string $code The source code to parse
  922. *
  923. * @return PHPParser_Node[] Array of statements
  924. */
  925. public function parse($code) {
  926. $this->lexer->startLexing($code);
  927. // We start off with no lookahead-token
  928. $tokenId = self::TOKEN_NONE;
  929. // The attributes for a node are taken from the first and last token of the node.
  930. // From the first token only the startAttributes are taken and from the last only
  931. // the endAttributes. Both are merged using the array union operator (+).
  932. $startAttributes = array('startLine' => 1);
  933. $endAttributes = array();
  934. // In order to figure out the attributes for the starting token, we have to keep
  935. // them in a stack
  936. $attributeStack = array($startAttributes);
  937. // Start off in the initial state and keep a stack of previous states
  938. $state = 0;
  939. $stateStack = array($state);
  940. // AST stack (?)
  941. $this->yyastk = array();
  942. // Current position in the stack(s)
  943. $this->stackPos = 0;
  944. for (;;) {
  945. if (self::$yybase[$state] == 0) {
  946. $yyn = self::$yydefault[$state];
  947. } else {
  948. if ($tokenId === self::TOKEN_NONE) {
  949. // Fetch the next token id from the lexer and fetch additional info by-ref.
  950. // The end attributes are fetched into a temporary variable and only set once the token is really
  951. // shifted (not during read). Otherwise you would sometimes get off-by-one errors, when a rule is
  952. // reduced after a token was read but not yet shifted.
  953. $origTokenId = $this->lexer->getNextToken($tokenValue, $startAttributes, $nextEndAttributes);
  954. // map the lexer token id to the internally used token id's
  955. $tokenId = $origTokenId >= 0 && $origTokenId < self::TOKEN_MAP_SIZE
  956. ? self::$translate[$origTokenId]
  957. : self::TOKEN_INVALID;
  958. if ($tokenId === self::TOKEN_INVALID) {
  959. throw new RangeException(sprintf(
  960. 'The lexer returned an invalid token (id=%d, value=%s)',
  961. $origTokenId, $tokenValue
  962. ));
  963. }
  964. $attributeStack[$this->stackPos] = $startAttributes;
  965. }
  966. if ((($yyn = self::$yybase[$state] + $tokenId) >= 0
  967. && $yyn < self::YYLAST && self::$yycheck[$yyn] == $tokenId
  968. || ($state < self::YY2TBLSTATE
  969. && ($yyn = self::$yybase[$state + self::YYNLSTATES] + $tokenId) >= 0
  970. && $yyn < self::YYLAST
  971. && self::$yycheck[$yyn] == $tokenId))
  972. && ($yyn = self::$yyaction[$yyn]) != self::YYDEFAULT) {
  973. /*
  974. * >= YYNLSTATE: shift and reduce
  975. * > 0: shift
  976. * = 0: accept
  977. * < 0: reduce
  978. * = -YYUNEXPECTED: error
  979. */
  980. if ($yyn > 0) {
  981. /* shift */
  982. ++$this->stackPos;
  983. $stateStack[$this->stackPos] = $state = $yyn;
  984. $this->yyastk[$this->stackPos] = $tokenValue;
  985. $attributeStack[$this->stackPos] = $startAttributes;
  986. $endAttributes = $nextEndAttributes;
  987. $tokenId = self::TOKEN_NONE;
  988. if ($yyn < self::YYNLSTATES)
  989. continue;
  990. /* $yyn >= YYNLSTATES means shift-and-reduce */
  991. $yyn -= self::YYNLSTATES;
  992. } else {
  993. $yyn = -$yyn;
  994. }
  995. } else {
  996. $yyn = self::$yydefault[$state];
  997. }
  998. }
  999. for (;;) {
  1000. /* reduce/error */
  1001. if ($yyn == 0) {
  1002. /* accept */
  1003. return $this->yyval;
  1004. } elseif ($yyn != self::YYUNEXPECTED) {
  1005. /* reduce */
  1006. try {
  1007. $this->{'yyn' . $yyn}(
  1008. $attributeStack[$this->stackPos - self::$yylen[$yyn]]
  1009. + $endAttributes
  1010. );
  1011. } catch (PHPParser_Error $e) {
  1012. if (-1 === $e->getRawLine()) {
  1013. $e->setRawLine($startAttributes['startLine']);
  1014. }
  1015. throw $e;
  1016. }
  1017. /* Goto - shift nonterminal */
  1018. $this->stackPos -= self::$yylen[$yyn];
  1019. $yyn = self::$yylhs[$yyn];
  1020. if (($yyp = self::$yygbase[$yyn] + $stateStack[$this->stackPos]) >= 0
  1021. && $yyp < self::YYGLAST
  1022. && self::$yygcheck[$yyp] == $yyn) {
  1023. $state = self::$yygoto[$yyp];
  1024. } else {
  1025. $state = self::$yygdefault[$yyn];
  1026. }
  1027. ++$this->stackPos;
  1028. $stateStack[$this->stackPos] = $state;
  1029. $this->yyastk[$this->stackPos] = $this->yyval;
  1030. $attributeStack[$this->stackPos] = $startAttributes;
  1031. } else {
  1032. /* error */
  1033. $expected = array();
  1034. $base = self::$yybase[$state];
  1035. for ($i = 0; $i < self::TOKEN_MAP_SIZE; ++$i) {
  1036. $n = $base + $i;
  1037. if ($n >= 0 && $n < self::YYLAST && self::$yycheck[$n] == $i
  1038. || $state < self::YY2TBLSTATE
  1039. && ($n = self::$yybase[$state + self::YYNLSTATES] + $i) >= 0
  1040. && $n < self::YYLAST && self::$yycheck[$n] == $i
  1041. ) {
  1042. if (self::$yyaction[$n] != self::YYUNEXPECTED) {
  1043. if (count($expected) == 4) {
  1044. /* Too many expected tokens */
  1045. $expected = array();
  1046. break;
  1047. }
  1048. $expected[] = self::$terminals[$i];
  1049. }
  1050. }
  1051. }
  1052. $expectedString = '';
  1053. if ($expected) {
  1054. $expectedString = ', expecting ' . implode(' or ', $expected);
  1055. }
  1056. throw new PHPParser_Error(
  1057. 'Syntax error, unexpected ' . self::$terminals[$tokenId] . $expectedString,
  1058. $startAttributes['startLine']
  1059. );
  1060. }
  1061. if ($state < self::YYNLSTATES)
  1062. break;
  1063. /* >= YYNLSTATES means shift-and-reduce */
  1064. $yyn = $state - self::YYNLSTATES;
  1065. }
  1066. }
  1067. }
  1068. protected function yyn0() {
  1069. $this->yyval = $this->yyastk[$this->stackPos];
  1070. }
  1071. protected function yyn1($attributes) {
  1072. $this->yyval = PHPParser_Node_Stmt_Namespace::postprocess($this->yyastk[$this->stackPos-(1-1)]);
  1073. }
  1074. protected function yyn2($attributes) {
  1075. if (is_array($this->yyastk[$this->stackPos-(2-2)])) { $this->yyval = array_merge($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); } else { $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; };
  1076. }
  1077. protected function yyn3($attributes) {
  1078. $this->yyval = array();
  1079. }
  1080. protected function yyn4($attributes) {
  1081. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  1082. }
  1083. protected function yyn5($attributes) {
  1084. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  1085. }
  1086. protected function yyn6($attributes) {
  1087. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1088. }
  1089. protected function yyn7($attributes) {
  1090. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1091. }
  1092. protected function yyn8($attributes) {
  1093. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1094. }
  1095. protected function yyn9($attributes) {
  1096. $this->yyval = new PHPParser_Node_Stmt_HaltCompiler($this->lexer->handleHaltCompiler(), $attributes);
  1097. }
  1098. protected function yyn10($attributes) {
  1099. $this->yyval = new PHPParser_Node_Stmt_Namespace(new PHPParser_Node_Name($this->yyastk[$this->stackPos-(3-2)], $attributes), null, $attributes);
  1100. }
  1101. protected function yyn11($attributes) {
  1102. $this->yyval = new PHPParser_Node_Stmt_Namespace(new PHPParser_Node_Name($this->yyastk[$this->stackPos-(5-2)], $attributes), $this->yyastk[$this->stackPos-(5-4)], $attributes);
  1103. }
  1104. protected function yyn12($attributes) {
  1105. $this->yyval = new PHPParser_Node_Stmt_Namespace(null, $this->yyastk[$this->stackPos-(4-3)], $attributes);
  1106. }
  1107. protected function yyn13($attributes) {
  1108. $this->yyval = new PHPParser_Node_Stmt_Use($this->yyastk[$this->stackPos-(3-2)], $attributes);
  1109. }
  1110. protected function yyn14($attributes) {
  1111. $this->yyval = new PHPParser_Node_Stmt_Const($this->yyastk[$this->stackPos-(3-2)], $attributes);
  1112. }
  1113. protected function yyn15($attributes) {
  1114. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  1115. }
  1116. protected function yyn16($attributes) {
  1117. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  1118. }
  1119. protected function yyn17($attributes) {
  1120. $this->yyval = new PHPParser_Node_Stmt_UseUse(new PHPParser_Node_Name($this->yyastk[$this->stackPos-(1-1)], $attributes), null, $attributes);
  1121. }
  1122. protected function yyn18($attributes) {
  1123. $this->yyval = new PHPParser_Node_Stmt_UseUse(new PHPParser_Node_Name($this->yyastk[$this->stackPos-(3-1)], $attributes), $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1124. }
  1125. protected function yyn19($attributes) {
  1126. $this->yyval = new PHPParser_Node_Stmt_UseUse(new PHPParser_Node_Name($this->yyastk[$this->stackPos-(2-2)], $attributes), null, $attributes);
  1127. }
  1128. protected function yyn20($attributes) {
  1129. $this->yyval = new PHPParser_Node_Stmt_UseUse(new PHPParser_Node_Name($this->yyastk[$this->stackPos-(4-2)], $attributes), $this->yyastk[$this->stackPos-(4-4)], $attributes);
  1130. }
  1131. protected function yyn21($attributes) {
  1132. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  1133. }
  1134. protected function yyn22($attributes) {
  1135. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  1136. }
  1137. protected function yyn23($attributes) {
  1138. $this->yyval = new PHPParser_Node_Const($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1139. }
  1140. protected function yyn24($attributes) {
  1141. if (is_array($this->yyastk[$this->stackPos-(2-2)])) { $this->yyval = array_merge($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); } else { $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)]; };
  1142. }
  1143. protected function yyn25($attributes) {
  1144. $this->yyval = array();
  1145. }
  1146. protected function yyn26($attributes) {
  1147. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1148. }
  1149. protected function yyn27($attributes) {
  1150. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1151. }
  1152. protected function yyn28($attributes) {
  1153. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1154. }
  1155. protected function yyn29($attributes) {
  1156. throw new PHPParser_Error('__halt_compiler() can only be used from the outermost scope');
  1157. }
  1158. protected function yyn30($attributes) {
  1159. $this->yyval = $this->yyastk[$this->stackPos-(3-2)];
  1160. }
  1161. protected function yyn31($attributes) {
  1162. $this->yyval = new PHPParser_Node_Stmt_If($this->yyastk[$this->stackPos-(5-2)], array('stmts' => is_array($this->yyastk[$this->stackPos-(5-3)]) ? $this->yyastk[$this->stackPos-(5-3)] : array($this->yyastk[$this->stackPos-(5-3)]), 'elseifs' => $this->yyastk[$this->stackPos-(5-4)], 'else' => $this->yyastk[$this->stackPos-(5-5)]), $attributes);
  1163. }
  1164. protected function yyn32($attributes) {
  1165. $this->yyval = new PHPParser_Node_Stmt_If($this->yyastk[$this->stackPos-(8-2)], array('stmts' => $this->yyastk[$this->stackPos-(8-4)], 'elseifs' => $this->yyastk[$this->stackPos-(8-5)], 'else' => $this->yyastk[$this->stackPos-(8-6)]), $attributes);
  1166. }
  1167. protected function yyn33($attributes) {
  1168. $this->yyval = new PHPParser_Node_Stmt_While($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1169. }
  1170. protected function yyn34($attributes) {
  1171. $this->yyval = new PHPParser_Node_Stmt_Do($this->yyastk[$this->stackPos-(5-4)], is_array($this->yyastk[$this->stackPos-(5-2)]) ? $this->yyastk[$this->stackPos-(5-2)] : array($this->yyastk[$this->stackPos-(5-2)]), $attributes);
  1172. }
  1173. protected function yyn35($attributes) {
  1174. $this->yyval = new PHPParser_Node_Stmt_For(array('init' => $this->yyastk[$this->stackPos-(9-3)], 'cond' => $this->yyastk[$this->stackPos-(9-5)], 'loop' => $this->yyastk[$this->stackPos-(9-7)], 'stmts' => $this->yyastk[$this->stackPos-(9-9)]), $attributes);
  1175. }
  1176. protected function yyn36($attributes) {
  1177. $this->yyval = new PHPParser_Node_Stmt_Switch($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1178. }
  1179. protected function yyn37($attributes) {
  1180. $this->yyval = new PHPParser_Node_Stmt_Break(null, $attributes);
  1181. }
  1182. protected function yyn38($attributes) {
  1183. $this->yyval = new PHPParser_Node_Stmt_Break($this->yyastk[$this->stackPos-(3-2)], $attributes);
  1184. }
  1185. protected function yyn39($attributes) {
  1186. $this->yyval = new PHPParser_Node_Stmt_Continue(null, $attributes);
  1187. }
  1188. protected function yyn40($attributes) {
  1189. $this->yyval = new PHPParser_Node_Stmt_Continue($this->yyastk[$this->stackPos-(3-2)], $attributes);
  1190. }
  1191. protected function yyn41($attributes) {
  1192. $this->yyval = new PHPParser_Node_Stmt_Return(null, $attributes);
  1193. }
  1194. protected function yyn42($attributes) {
  1195. $this->yyval = new PHPParser_Node_Stmt_Return($this->yyastk[$this->stackPos-(3-2)], $attributes);
  1196. }
  1197. protected function yyn43($attributes) {
  1198. $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
  1199. }
  1200. protected function yyn44($attributes) {
  1201. $this->yyval = new PHPParser_Node_Stmt_Global($this->yyastk[$this->stackPos-(3-2)], $attributes);
  1202. }
  1203. protected function yyn45($attributes) {
  1204. $this->yyval = new PHPParser_Node_Stmt_Static($this->yyastk[$this->stackPos-(3-2)], $attributes);
  1205. }
  1206. protected function yyn46($attributes) {
  1207. $this->yyval = new PHPParser_Node_Stmt_Echo($this->yyastk[$this->stackPos-(3-2)], $attributes);
  1208. }
  1209. protected function yyn47($attributes) {
  1210. $this->yyval = new PHPParser_Node_Stmt_InlineHTML($this->yyastk[$this->stackPos-(1-1)], $attributes);
  1211. }
  1212. protected function yyn48($attributes) {
  1213. $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
  1214. }
  1215. protected function yyn49($attributes) {
  1216. $this->yyval = new PHPParser_Node_Stmt_Unset($this->yyastk[$this->stackPos-(5-3)], $attributes);
  1217. }
  1218. protected function yyn50($attributes) {
  1219. $this->yyval = new PHPParser_Node_Stmt_Foreach($this->yyastk[$this->stackPos-(7-3)], $this->yyastk[$this->stackPos-(7-5)][0], array('keyVar' => null, 'byRef' => $this->yyastk[$this->stackPos-(7-5)][1], 'stmts' => $this->yyastk[$this->stackPos-(7-7)]), $attributes);
  1220. }
  1221. protected function yyn51($attributes) {
  1222. $this->yyval = new PHPParser_Node_Stmt_Foreach($this->yyastk[$this->stackPos-(9-3)], $this->yyastk[$this->stackPos-(9-7)][0], array('keyVar' => $this->yyastk[$this->stackPos-(9-5)], 'byRef' => $this->yyastk[$this->stackPos-(9-7)][1], 'stmts' => $this->yyastk[$this->stackPos-(9-9)]), $attributes);
  1223. }
  1224. protected function yyn52($attributes) {
  1225. $this->yyval = new PHPParser_Node_Stmt_Declare($this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-5)], $attributes);
  1226. }
  1227. protected function yyn53($attributes) {
  1228. $this->yyval = array(); /* means: no statement */
  1229. }
  1230. protected function yyn54($attributes) {
  1231. $this->yyval = new PHPParser_Node_Stmt_TryCatch($this->yyastk[$this->stackPos-(6-3)], $this->yyastk[$this->stackPos-(6-5)], $this->yyastk[$this->stackPos-(6-6)], $attributes);
  1232. }
  1233. protected function yyn55($attributes) {
  1234. $this->yyval = new PHPParser_Node_Stmt_Throw($this->yyastk[$this->stackPos-(3-2)], $attributes);
  1235. }
  1236. protected function yyn56($attributes) {
  1237. $this->yyval = new PHPParser_Node_Stmt_Goto($this->yyastk[$this->stackPos-(3-2)], $attributes);
  1238. }
  1239. protected function yyn57($attributes) {
  1240. $this->yyval = new PHPParser_Node_Stmt_Label($this->yyastk[$this->stackPos-(2-1)], $attributes);
  1241. }
  1242. protected function yyn58($attributes) {
  1243. $this->yyval = array();
  1244. }
  1245. protected function yyn59($attributes) {
  1246. $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
  1247. }
  1248. protected function yyn60($attributes) {
  1249. $this->yyval = new PHPParser_Node_Stmt_Catch($this->yyastk[$this->stackPos-(8-3)], substr($this->yyastk[$this->stackPos-(8-4)], 1), $this->yyastk[$this->stackPos-(8-7)], $attributes);
  1250. }
  1251. protected function yyn61($attributes) {
  1252. $this->yyval = null;
  1253. }
  1254. protected function yyn62($attributes) {
  1255. $this->yyval = $this->yyastk[$this->stackPos-(4-3)];
  1256. }
  1257. protected function yyn63($attributes) {
  1258. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  1259. }
  1260. protected function yyn64($attributes) {
  1261. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  1262. }
  1263. protected function yyn65($attributes) {
  1264. $this->yyval = false;
  1265. }
  1266. protected function yyn66($attributes) {
  1267. $this->yyval = true;
  1268. }
  1269. protected function yyn67($attributes) {
  1270. $this->yyval = new PHPParser_Node_Stmt_Function($this->yyastk[$this->stackPos-(9-3)], array('byRef' => $this->yyastk[$this->stackPos-(9-2)], 'params' => $this->yyastk[$this->stackPos-(9-5)], 'stmts' => $this->yyastk[$this->stackPos-(9-8)]), $attributes);
  1271. }
  1272. protected function yyn68($attributes) {
  1273. $this->yyval = new PHPParser_Node_Stmt_Class($this->yyastk[$this->stackPos-(7-2)], array('type' => $this->yyastk[$this->stackPos-(7-1)], 'extends' => $this->yyastk[$this->stackPos-(7-3)], 'implements' => $this->yyastk[$this->stackPos-(7-4)], 'stmts' => $this->yyastk[$this->stackPos-(7-6)]), $attributes);
  1274. }
  1275. protected function yyn69($attributes) {
  1276. $this->yyval = new PHPParser_Node_Stmt_Interface($this->yyastk[$this->stackPos-(6-2)], array('extends' => $this->yyastk[$this->stackPos-(6-3)], 'stmts' => $this->yyastk[$this->stackPos-(6-5)]), $attributes);
  1277. }
  1278. protected function yyn70($attributes) {
  1279. $this->yyval = new PHPParser_Node_Stmt_Trait($this->yyastk[$this->stackPos-(5-2)], $this->yyastk[$this->stackPos-(5-4)], $attributes);
  1280. }
  1281. protected function yyn71($attributes) {
  1282. $this->yyval = 0;
  1283. }
  1284. protected function yyn72($attributes) {
  1285. $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_ABSTRACT;
  1286. }
  1287. protected function yyn73($attributes) {
  1288. $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_FINAL;
  1289. }
  1290. protected function yyn74($attributes) {
  1291. $this->yyval = null;
  1292. }
  1293. protected function yyn75($attributes) {
  1294. $this->yyval = $this->yyastk[$this->stackPos-(2-2)];
  1295. }
  1296. protected function yyn76($attributes) {
  1297. $this->yyval = array();
  1298. }
  1299. protected function yyn77($attributes) {
  1300. $this->yyval = $this->yyastk[$this->stackPos-(2-2)];
  1301. }
  1302. protected function yyn78($attributes) {
  1303. $this->yyval = array();
  1304. }
  1305. protected function yyn79($attributes) {
  1306. $this->yyval = $this->yyastk[$this->stackPos-(2-2)];
  1307. }
  1308. protected function yyn80($attributes) {
  1309. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  1310. }
  1311. protected function yyn81($attributes) {
  1312. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  1313. }
  1314. protected function yyn82($attributes) {
  1315. $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]);
  1316. }
  1317. protected function yyn83($attributes) {
  1318. $this->yyval = $this->yyastk[$this->stackPos-(4-2)];
  1319. }
  1320. protected function yyn84($attributes) {
  1321. $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]);
  1322. }
  1323. protected function yyn85($attributes) {
  1324. $this->yyval = $this->yyastk[$this->stackPos-(4-2)];
  1325. }
  1326. protected function yyn86($attributes) {
  1327. $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]);
  1328. }
  1329. protected function yyn87($attributes) {
  1330. $this->yyval = $this->yyastk[$this->stackPos-(4-2)];
  1331. }
  1332. protected function yyn88($attributes) {
  1333. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  1334. }
  1335. protected function yyn89($attributes) {
  1336. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  1337. }
  1338. protected function yyn90($attributes) {
  1339. $this->yyval = new PHPParser_Node_Stmt_DeclareDeclare($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1340. }
  1341. protected function yyn91($attributes) {
  1342. $this->yyval = $this->yyastk[$this->stackPos-(3-2)];
  1343. }
  1344. protected function yyn92($attributes) {
  1345. $this->yyval = $this->yyastk[$this->stackPos-(4-3)];
  1346. }
  1347. protected function yyn93($attributes) {
  1348. $this->yyval = $this->yyastk[$this->stackPos-(4-2)];
  1349. }
  1350. protected function yyn94($attributes) {
  1351. $this->yyval = $this->yyastk[$this->stackPos-(5-3)];
  1352. }
  1353. protected function yyn95($attributes) {
  1354. $this->yyval = array();
  1355. }
  1356. protected function yyn96($attributes) {
  1357. $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
  1358. }
  1359. protected function yyn97($attributes) {
  1360. $this->yyval = new PHPParser_Node_Stmt_Case($this->yyastk[$this->stackPos-(4-2)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
  1361. }
  1362. protected function yyn98($attributes) {
  1363. $this->yyval = new PHPParser_Node_Stmt_Case(null, $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1364. }
  1365. protected function yyn99() {
  1366. $this->yyval = $this->yyastk[$this->stackPos];
  1367. }
  1368. protected function yyn100() {
  1369. $this->yyval = $this->yyastk[$this->stackPos];
  1370. }
  1371. protected function yyn101($attributes) {
  1372. $this->yyval = is_array($this->yyastk[$this->stackPos-(1-1)]) ? $this->yyastk[$this->stackPos-(1-1)] : array($this->yyastk[$this->stackPos-(1-1)]);
  1373. }
  1374. protected function yyn102($attributes) {
  1375. $this->yyval = $this->yyastk[$this->stackPos-(4-2)];
  1376. }
  1377. protected function yyn103($attributes) {
  1378. $this->yyval = array();
  1379. }
  1380. protected function yyn104($attributes) {
  1381. $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
  1382. }
  1383. protected function yyn105($attributes) {
  1384. $this->yyval = new PHPParser_Node_Stmt_ElseIf($this->yyastk[$this->stackPos-(3-2)], is_array($this->yyastk[$this->stackPos-(3-3)]) ? $this->yyastk[$this->stackPos-(3-3)] : array($this->yyastk[$this->stackPos-(3-3)]), $attributes);
  1385. }
  1386. protected function yyn106($attributes) {
  1387. $this->yyval = array();
  1388. }
  1389. protected function yyn107($attributes) {
  1390. $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
  1391. }
  1392. protected function yyn108($attributes) {
  1393. $this->yyval = new PHPParser_Node_Stmt_ElseIf($this->yyastk[$this->stackPos-(4-2)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
  1394. }
  1395. protected function yyn109($attributes) {
  1396. $this->yyval = null;
  1397. }
  1398. protected function yyn110($attributes) {
  1399. $this->yyval = new PHPParser_Node_Stmt_Else(is_array($this->yyastk[$this->stackPos-(2-2)]) ? $this->yyastk[$this->stackPos-(2-2)] : array($this->yyastk[$this->stackPos-(2-2)]), $attributes);
  1400. }
  1401. protected function yyn111($attributes) {
  1402. $this->yyval = null;
  1403. }
  1404. protected function yyn112($attributes) {
  1405. $this->yyval = new PHPParser_Node_Stmt_Else($this->yyastk[$this->stackPos-(3-3)], $attributes);
  1406. }
  1407. protected function yyn113($attributes) {
  1408. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)], false);
  1409. }
  1410. protected function yyn114($attributes) {
  1411. $this->yyval = array($this->yyastk[$this->stackPos-(2-2)], true);
  1412. }
  1413. protected function yyn115($attributes) {
  1414. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)], false);
  1415. }
  1416. protected function yyn116($attributes) {
  1417. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1418. }
  1419. protected function yyn117($attributes) {
  1420. $this->yyval = array();
  1421. }
  1422. protected function yyn118($attributes) {
  1423. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  1424. }
  1425. protected function yyn119($attributes) {
  1426. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  1427. }
  1428. protected function yyn120($attributes) {
  1429. $this->yyval = new PHPParser_Node_Param(substr($this->yyastk[$this->stackPos-(3-3)], 1), null, $this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)], $attributes);
  1430. }
  1431. protected function yyn121($attributes) {
  1432. $this->yyval = new PHPParser_Node_Param(substr($this->yyastk[$this->stackPos-(5-3)], 1), $this->yyastk[$this->stackPos-(5-5)], $this->yyastk[$this->stackPos-(5-1)], $this->yyastk[$this->stackPos-(5-2)], $attributes);
  1433. }
  1434. protected function yyn122($attributes) {
  1435. $this->yyval = null;
  1436. }
  1437. protected function yyn123($attributes) {
  1438. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1439. }
  1440. protected function yyn124($attributes) {
  1441. $this->yyval = 'array';
  1442. }
  1443. protected function yyn125($attributes) {
  1444. $this->yyval = 'callable';
  1445. }
  1446. protected function yyn126($attributes) {
  1447. $this->yyval = array();
  1448. }
  1449. protected function yyn127($attributes) {
  1450. $this->yyval = $this->yyastk[$this->stackPos-(3-2)];
  1451. }
  1452. protected function yyn128($attributes) {
  1453. $this->yyval = array(new PHPParser_Node_Arg($this->yyastk[$this->stackPos-(3-2)], false, $attributes));
  1454. }
  1455. protected function yyn129($attributes) {
  1456. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  1457. }
  1458. protected function yyn130($attributes) {
  1459. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  1460. }
  1461. protected function yyn131($attributes) {
  1462. $this->yyval = new PHPParser_Node_Arg($this->yyastk[$this->stackPos-(1-1)], false, $attributes);
  1463. }
  1464. protected function yyn132($attributes) {
  1465. $this->yyval = new PHPParser_Node_Arg($this->yyastk[$this->stackPos-(2-2)], true, $attributes);
  1466. }
  1467. protected function yyn133($attributes) {
  1468. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  1469. }
  1470. protected function yyn134($attributes) {
  1471. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  1472. }
  1473. protected function yyn135($attributes) {
  1474. $this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes);
  1475. }
  1476. protected function yyn136($attributes) {
  1477. $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1478. }
  1479. protected function yyn137($attributes) {
  1480. $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(4-3)], $attributes);
  1481. }
  1482. protected function yyn138($attributes) {
  1483. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  1484. }
  1485. protected function yyn139($attributes) {
  1486. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  1487. }
  1488. protected function yyn140($attributes) {
  1489. $this->yyval = new PHPParser_Node_Stmt_StaticVar(substr($this->yyastk[$this->stackPos-(1-1)], 1), null, $attributes);
  1490. }
  1491. protected function yyn141($attributes) {
  1492. $this->yyval = new PHPParser_Node_Stmt_StaticVar(substr($this->yyastk[$this->stackPos-(3-1)], 1), $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1493. }
  1494. protected function yyn142($attributes) {
  1495. $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
  1496. }
  1497. protected function yyn143($attributes) {
  1498. $this->yyval = array();
  1499. }
  1500. protected function yyn144($attributes) {
  1501. $this->yyval = new PHPParser_Node_Stmt_Property($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)], $attributes);
  1502. }
  1503. protected function yyn145($attributes) {
  1504. $this->yyval = new PHPParser_Node_Stmt_ClassConst($this->yyastk[$this->stackPos-(3-2)], $attributes);
  1505. }
  1506. protected function yyn146($attributes) {
  1507. $this->yyval = new PHPParser_Node_Stmt_ClassMethod($this->yyastk[$this->stackPos-(8-4)], array('type' => $this->yyastk[$this->stackPos-(8-1)], 'byRef' => $this->yyastk[$this->stackPos-(8-3)], 'params' => $this->yyastk[$this->stackPos-(8-6)], 'stmts' => $this->yyastk[$this->stackPos-(8-8)]), $attributes);
  1508. }
  1509. protected function yyn147($attributes) {
  1510. $this->yyval = new PHPParser_Node_Stmt_TraitUse($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1511. }
  1512. protected function yyn148($attributes) {
  1513. $this->yyval = array();
  1514. }
  1515. protected function yyn149($attributes) {
  1516. $this->yyval = $this->yyastk[$this->stackPos-(3-2)];
  1517. }
  1518. protected function yyn150($attributes) {
  1519. $this->yyval = array();
  1520. }
  1521. protected function yyn151($attributes) {
  1522. $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
  1523. }
  1524. protected function yyn152($attributes) {
  1525. $this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Precedence($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], $this->yyastk[$this->stackPos-(4-3)], $attributes);
  1526. }
  1527. protected function yyn153($attributes) {
  1528. $this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Alias($this->yyastk[$this->stackPos-(5-1)][0], $this->yyastk[$this->stackPos-(5-1)][1], $this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-4)], $attributes);
  1529. }
  1530. protected function yyn154($attributes) {
  1531. $this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Alias($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], $this->yyastk[$this->stackPos-(4-3)], null, $attributes);
  1532. }
  1533. protected function yyn155($attributes) {
  1534. $this->yyval = new PHPParser_Node_Stmt_TraitUseAdaptation_Alias($this->yyastk[$this->stackPos-(4-1)][0], $this->yyastk[$this->stackPos-(4-1)][1], null, $this->yyastk[$this->stackPos-(4-3)], $attributes);
  1535. }
  1536. protected function yyn156($attributes) {
  1537. $this->yyval = array($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)]);
  1538. }
  1539. protected function yyn157($attributes) {
  1540. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1541. }
  1542. protected function yyn158($attributes) {
  1543. $this->yyval = array(null, $this->yyastk[$this->stackPos-(1-1)]);
  1544. }
  1545. protected function yyn159($attributes) {
  1546. $this->yyval = null;
  1547. }
  1548. protected function yyn160($attributes) {
  1549. $this->yyval = $this->yyastk[$this->stackPos-(3-2)];
  1550. }
  1551. protected function yyn161($attributes) {
  1552. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1553. }
  1554. protected function yyn162($attributes) {
  1555. $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC;
  1556. }
  1557. protected function yyn163($attributes) {
  1558. $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC;
  1559. }
  1560. protected function yyn164($attributes) {
  1561. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1562. }
  1563. protected function yyn165($attributes) {
  1564. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1565. }
  1566. protected function yyn166($attributes) {
  1567. PHPParser_Node_Stmt_Class::verifyModifier($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]); $this->yyval = $this->yyastk[$this->stackPos-(2-1)] | $this->yyastk[$this->stackPos-(2-2)];
  1568. }
  1569. protected function yyn167($attributes) {
  1570. $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC;
  1571. }
  1572. protected function yyn168($attributes) {
  1573. $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PROTECTED;
  1574. }
  1575. protected function yyn169($attributes) {
  1576. $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_PRIVATE;
  1577. }
  1578. protected function yyn170($attributes) {
  1579. $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_STATIC;
  1580. }
  1581. protected function yyn171($attributes) {
  1582. $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_ABSTRACT;
  1583. }
  1584. protected function yyn172($attributes) {
  1585. $this->yyval = PHPParser_Node_Stmt_Class::MODIFIER_FINAL;
  1586. }
  1587. protected function yyn173($attributes) {
  1588. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  1589. }
  1590. protected function yyn174($attributes) {
  1591. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  1592. }
  1593. protected function yyn175($attributes) {
  1594. $this->yyval = new PHPParser_Node_Stmt_PropertyProperty(substr($this->yyastk[$this->stackPos-(1-1)], 1), null, $attributes);
  1595. }
  1596. protected function yyn176($attributes) {
  1597. $this->yyval = new PHPParser_Node_Stmt_PropertyProperty(substr($this->yyastk[$this->stackPos-(3-1)], 1), $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1598. }
  1599. protected function yyn177($attributes) {
  1600. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  1601. }
  1602. protected function yyn178($attributes) {
  1603. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  1604. }
  1605. protected function yyn179($attributes) {
  1606. $this->yyval = array();
  1607. }
  1608. protected function yyn180($attributes) {
  1609. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1610. }
  1611. protected function yyn181($attributes) {
  1612. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1613. }
  1614. protected function yyn182($attributes) {
  1615. $this->yyval = new PHPParser_Node_Expr_Assign($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1616. }
  1617. protected function yyn183($attributes) {
  1618. $this->yyval = new PHPParser_Node_Expr_Assign($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1619. }
  1620. protected function yyn184($attributes) {
  1621. $this->yyval = new PHPParser_Node_Expr_AssignRef($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
  1622. }
  1623. protected function yyn185($attributes) {
  1624. $this->yyval = new PHPParser_Node_Expr_AssignRef($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
  1625. }
  1626. protected function yyn186($attributes) {
  1627. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1628. }
  1629. protected function yyn187($attributes) {
  1630. $this->yyval = new PHPParser_Node_Expr_Clone($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1631. }
  1632. protected function yyn188($attributes) {
  1633. $this->yyval = new PHPParser_Node_Expr_AssignPlus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1634. }
  1635. protected function yyn189($attributes) {
  1636. $this->yyval = new PHPParser_Node_Expr_AssignMinus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1637. }
  1638. protected function yyn190($attributes) {
  1639. $this->yyval = new PHPParser_Node_Expr_AssignMul($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1640. }
  1641. protected function yyn191($attributes) {
  1642. $this->yyval = new PHPParser_Node_Expr_AssignDiv($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1643. }
  1644. protected function yyn192($attributes) {
  1645. $this->yyval = new PHPParser_Node_Expr_AssignConcat($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1646. }
  1647. protected function yyn193($attributes) {
  1648. $this->yyval = new PHPParser_Node_Expr_AssignMod($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1649. }
  1650. protected function yyn194($attributes) {
  1651. $this->yyval = new PHPParser_Node_Expr_AssignBitwiseAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1652. }
  1653. protected function yyn195($attributes) {
  1654. $this->yyval = new PHPParser_Node_Expr_AssignBitwiseOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1655. }
  1656. protected function yyn196($attributes) {
  1657. $this->yyval = new PHPParser_Node_Expr_AssignBitwiseXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1658. }
  1659. protected function yyn197($attributes) {
  1660. $this->yyval = new PHPParser_Node_Expr_AssignShiftLeft($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1661. }
  1662. protected function yyn198($attributes) {
  1663. $this->yyval = new PHPParser_Node_Expr_AssignShiftRight($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1664. }
  1665. protected function yyn199($attributes) {
  1666. $this->yyval = new PHPParser_Node_Expr_PostInc($this->yyastk[$this->stackPos-(2-1)], $attributes);
  1667. }
  1668. protected function yyn200($attributes) {
  1669. $this->yyval = new PHPParser_Node_Expr_PreInc($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1670. }
  1671. protected function yyn201($attributes) {
  1672. $this->yyval = new PHPParser_Node_Expr_PostDec($this->yyastk[$this->stackPos-(2-1)], $attributes);
  1673. }
  1674. protected function yyn202($attributes) {
  1675. $this->yyval = new PHPParser_Node_Expr_PreDec($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1676. }
  1677. protected function yyn203($attributes) {
  1678. $this->yyval = new PHPParser_Node_Expr_BooleanOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1679. }
  1680. protected function yyn204($attributes) {
  1681. $this->yyval = new PHPParser_Node_Expr_BooleanAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1682. }
  1683. protected function yyn205($attributes) {
  1684. $this->yyval = new PHPParser_Node_Expr_LogicalOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1685. }
  1686. protected function yyn206($attributes) {
  1687. $this->yyval = new PHPParser_Node_Expr_LogicalAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1688. }
  1689. protected function yyn207($attributes) {
  1690. $this->yyval = new PHPParser_Node_Expr_LogicalXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1691. }
  1692. protected function yyn208($attributes) {
  1693. $this->yyval = new PHPParser_Node_Expr_BitwiseOr($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1694. }
  1695. protected function yyn209($attributes) {
  1696. $this->yyval = new PHPParser_Node_Expr_BitwiseAnd($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1697. }
  1698. protected function yyn210($attributes) {
  1699. $this->yyval = new PHPParser_Node_Expr_BitwiseXor($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1700. }
  1701. protected function yyn211($attributes) {
  1702. $this->yyval = new PHPParser_Node_Expr_Concat($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1703. }
  1704. protected function yyn212($attributes) {
  1705. $this->yyval = new PHPParser_Node_Expr_Plus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1706. }
  1707. protected function yyn213($attributes) {
  1708. $this->yyval = new PHPParser_Node_Expr_Minus($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1709. }
  1710. protected function yyn214($attributes) {
  1711. $this->yyval = new PHPParser_Node_Expr_Mul($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1712. }
  1713. protected function yyn215($attributes) {
  1714. $this->yyval = new PHPParser_Node_Expr_Div($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1715. }
  1716. protected function yyn216($attributes) {
  1717. $this->yyval = new PHPParser_Node_Expr_Mod($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1718. }
  1719. protected function yyn217($attributes) {
  1720. $this->yyval = new PHPParser_Node_Expr_ShiftLeft($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1721. }
  1722. protected function yyn218($attributes) {
  1723. $this->yyval = new PHPParser_Node_Expr_ShiftRight($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1724. }
  1725. protected function yyn219($attributes) {
  1726. $this->yyval = new PHPParser_Node_Expr_UnaryPlus($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1727. }
  1728. protected function yyn220($attributes) {
  1729. $this->yyval = new PHPParser_Node_Expr_UnaryMinus($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1730. }
  1731. protected function yyn221($attributes) {
  1732. $this->yyval = new PHPParser_Node_Expr_BooleanNot($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1733. }
  1734. protected function yyn222($attributes) {
  1735. $this->yyval = new PHPParser_Node_Expr_BitwiseNot($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1736. }
  1737. protected function yyn223($attributes) {
  1738. $this->yyval = new PHPParser_Node_Expr_Identical($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1739. }
  1740. protected function yyn224($attributes) {
  1741. $this->yyval = new PHPParser_Node_Expr_NotIdentical($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1742. }
  1743. protected function yyn225($attributes) {
  1744. $this->yyval = new PHPParser_Node_Expr_Equal($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1745. }
  1746. protected function yyn226($attributes) {
  1747. $this->yyval = new PHPParser_Node_Expr_NotEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1748. }
  1749. protected function yyn227($attributes) {
  1750. $this->yyval = new PHPParser_Node_Expr_Smaller($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1751. }
  1752. protected function yyn228($attributes) {
  1753. $this->yyval = new PHPParser_Node_Expr_SmallerOrEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1754. }
  1755. protected function yyn229($attributes) {
  1756. $this->yyval = new PHPParser_Node_Expr_Greater($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1757. }
  1758. protected function yyn230($attributes) {
  1759. $this->yyval = new PHPParser_Node_Expr_GreaterOrEqual($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1760. }
  1761. protected function yyn231($attributes) {
  1762. $this->yyval = new PHPParser_Node_Expr_Instanceof($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1763. }
  1764. protected function yyn232($attributes) {
  1765. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1766. }
  1767. protected function yyn233($attributes) {
  1768. $this->yyval = $this->yyastk[$this->stackPos-(3-2)];
  1769. }
  1770. protected function yyn234($attributes) {
  1771. $this->yyval = new PHPParser_Node_Expr_Ternary($this->yyastk[$this->stackPos-(5-1)], $this->yyastk[$this->stackPos-(5-3)], $this->yyastk[$this->stackPos-(5-5)], $attributes);
  1772. }
  1773. protected function yyn235($attributes) {
  1774. $this->yyval = new PHPParser_Node_Expr_Ternary($this->yyastk[$this->stackPos-(4-1)], null, $this->yyastk[$this->stackPos-(4-4)], $attributes);
  1775. }
  1776. protected function yyn236($attributes) {
  1777. $this->yyval = new PHPParser_Node_Expr_Isset($this->yyastk[$this->stackPos-(4-3)], $attributes);
  1778. }
  1779. protected function yyn237($attributes) {
  1780. $this->yyval = new PHPParser_Node_Expr_Empty($this->yyastk[$this->stackPos-(4-3)], $attributes);
  1781. }
  1782. protected function yyn238($attributes) {
  1783. $this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_INCLUDE, $attributes);
  1784. }
  1785. protected function yyn239($attributes) {
  1786. $this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_INCLUDE_ONCE, $attributes);
  1787. }
  1788. protected function yyn240($attributes) {
  1789. $this->yyval = new PHPParser_Node_Expr_Eval($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1790. }
  1791. protected function yyn241($attributes) {
  1792. $this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_REQUIRE, $attributes);
  1793. }
  1794. protected function yyn242($attributes) {
  1795. $this->yyval = new PHPParser_Node_Expr_Include($this->yyastk[$this->stackPos-(2-2)], PHPParser_Node_Expr_Include::TYPE_REQUIRE_ONCE, $attributes);
  1796. }
  1797. protected function yyn243($attributes) {
  1798. $this->yyval = new PHPParser_Node_Expr_Cast_Int($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1799. }
  1800. protected function yyn244($attributes) {
  1801. $this->yyval = new PHPParser_Node_Expr_Cast_Double($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1802. }
  1803. protected function yyn245($attributes) {
  1804. $this->yyval = new PHPParser_Node_Expr_Cast_String($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1805. }
  1806. protected function yyn246($attributes) {
  1807. $this->yyval = new PHPParser_Node_Expr_Cast_Array($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1808. }
  1809. protected function yyn247($attributes) {
  1810. $this->yyval = new PHPParser_Node_Expr_Cast_Object($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1811. }
  1812. protected function yyn248($attributes) {
  1813. $this->yyval = new PHPParser_Node_Expr_Cast_Bool($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1814. }
  1815. protected function yyn249($attributes) {
  1816. $this->yyval = new PHPParser_Node_Expr_Cast_Unset($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1817. }
  1818. protected function yyn250($attributes) {
  1819. $this->yyval = new PHPParser_Node_Expr_Exit($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1820. }
  1821. protected function yyn251($attributes) {
  1822. $this->yyval = new PHPParser_Node_Expr_ErrorSuppress($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1823. }
  1824. protected function yyn252($attributes) {
  1825. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1826. }
  1827. protected function yyn253($attributes) {
  1828. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1829. }
  1830. protected function yyn254($attributes) {
  1831. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1832. }
  1833. protected function yyn255($attributes) {
  1834. $this->yyval = new PHPParser_Node_Expr_ShellExec($this->yyastk[$this->stackPos-(3-2)], $attributes);
  1835. }
  1836. protected function yyn256($attributes) {
  1837. $this->yyval = new PHPParser_Node_Expr_Print($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1838. }
  1839. protected function yyn257($attributes) {
  1840. $this->yyval = new PHPParser_Node_Expr_Yield(null, null, $attributes);
  1841. }
  1842. protected function yyn258($attributes) {
  1843. $this->yyval = new PHPParser_Node_Expr_Closure(array('static' => false, 'byRef' => $this->yyastk[$this->stackPos-(9-2)], 'params' => $this->yyastk[$this->stackPos-(9-4)], 'uses' => $this->yyastk[$this->stackPos-(9-6)], 'stmts' => $this->yyastk[$this->stackPos-(9-8)]), $attributes);
  1844. }
  1845. protected function yyn259($attributes) {
  1846. $this->yyval = new PHPParser_Node_Expr_Closure(array('static' => true, 'byRef' => $this->yyastk[$this->stackPos-(10-3)], 'params' => $this->yyastk[$this->stackPos-(10-5)], 'uses' => $this->yyastk[$this->stackPos-(10-7)], 'stmts' => $this->yyastk[$this->stackPos-(10-9)]), $attributes);
  1847. }
  1848. protected function yyn260($attributes) {
  1849. $this->yyval = $this->yyastk[$this->stackPos-(3-2)];
  1850. }
  1851. protected function yyn261($attributes) {
  1852. $this->yyval = $this->yyastk[$this->stackPos-(3-2)];
  1853. }
  1854. protected function yyn262($attributes) {
  1855. $this->yyval = new PHPParser_Node_Expr_Yield($this->yyastk[$this->stackPos-(2-2)], null, $attributes);
  1856. }
  1857. protected function yyn263($attributes) {
  1858. $this->yyval = new PHPParser_Node_Expr_Yield($this->yyastk[$this->stackPos-(4-4)], $this->yyastk[$this->stackPos-(4-2)], $attributes);
  1859. }
  1860. protected function yyn264($attributes) {
  1861. $this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(4-3)], $attributes);
  1862. }
  1863. protected function yyn265($attributes) {
  1864. $this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(3-2)], $attributes);
  1865. }
  1866. protected function yyn266($attributes) {
  1867. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
  1868. }
  1869. protected function yyn267($attributes) {
  1870. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Scalar_String(PHPParser_Node_Scalar_String::parse($this->yyastk[$this->stackPos-(4-1)]), $attributes), $this->yyastk[$this->stackPos-(4-3)], $attributes);
  1871. }
  1872. protected function yyn268($attributes) {
  1873. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
  1874. }
  1875. protected function yyn269($attributes) {
  1876. $this->yyval = new PHPParser_Node_Expr_New($this->yyastk[$this->stackPos-(3-2)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1877. }
  1878. protected function yyn270($attributes) {
  1879. $this->yyval = array();
  1880. }
  1881. protected function yyn271($attributes) {
  1882. $this->yyval = $this->yyastk[$this->stackPos-(4-3)];
  1883. }
  1884. protected function yyn272($attributes) {
  1885. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  1886. }
  1887. protected function yyn273($attributes) {
  1888. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  1889. }
  1890. protected function yyn274($attributes) {
  1891. $this->yyval = new PHPParser_Node_Expr_ClosureUse(substr($this->yyastk[$this->stackPos-(2-2)], 1), $this->yyastk[$this->stackPos-(2-1)], $attributes);
  1892. }
  1893. protected function yyn275($attributes) {
  1894. $this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)], $attributes);
  1895. }
  1896. protected function yyn276($attributes) {
  1897. $this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
  1898. }
  1899. protected function yyn277($attributes) {
  1900. $this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-4)], $this->yyastk[$this->stackPos-(6-6)], $attributes);
  1901. }
  1902. protected function yyn278($attributes) {
  1903. if ($this->yyastk[$this->stackPos-(2-1)] instanceof PHPParser_Node_Expr_StaticPropertyFetch) {
  1904. $this->yyval = new PHPParser_Node_Expr_StaticCall($this->yyastk[$this->stackPos-(2-1)]->class, new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(2-1)]->name, $attributes), $this->yyastk[$this->stackPos-(2-2)], $attributes);
  1905. } elseif ($this->yyastk[$this->stackPos-(2-1)] instanceof PHPParser_Node_Expr_ArrayDimFetch) {
  1906. $tmp = $this->yyastk[$this->stackPos-(2-1)];
  1907. while ($tmp->var instanceof PHPParser_Node_Expr_ArrayDimFetch) {
  1908. $tmp = $tmp->var;
  1909. }
  1910. $this->yyval = new PHPParser_Node_Expr_StaticCall($tmp->var->class, $this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)], $attributes);
  1911. $tmp->var = new PHPParser_Node_Expr_Variable($tmp->var->name, $attributes);
  1912. } else {
  1913. throw new Exception;
  1914. }
  1915. }
  1916. protected function yyn279($attributes) {
  1917. $this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)], $attributes);
  1918. }
  1919. protected function yyn280($attributes) {
  1920. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
  1921. }
  1922. protected function yyn281($attributes) {
  1923. $this->yyval = new PHPParser_Node_Name('static', $attributes);
  1924. }
  1925. protected function yyn282($attributes) {
  1926. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1927. }
  1928. protected function yyn283($attributes) {
  1929. $this->yyval = new PHPParser_Node_Name($this->yyastk[$this->stackPos-(1-1)], $attributes);
  1930. }
  1931. protected function yyn284($attributes) {
  1932. $this->yyval = new PHPParser_Node_Name_FullyQualified($this->yyastk[$this->stackPos-(2-2)], $attributes);
  1933. }
  1934. protected function yyn285($attributes) {
  1935. $this->yyval = new PHPParser_Node_Name_Relative($this->yyastk[$this->stackPos-(3-3)], $attributes);
  1936. }
  1937. protected function yyn286($attributes) {
  1938. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1939. }
  1940. protected function yyn287($attributes) {
  1941. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1942. }
  1943. protected function yyn288($attributes) {
  1944. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1945. }
  1946. protected function yyn289($attributes) {
  1947. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1948. }
  1949. protected function yyn290($attributes) {
  1950. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1951. }
  1952. protected function yyn291($attributes) {
  1953. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1954. }
  1955. protected function yyn292() {
  1956. $this->yyval = $this->yyastk[$this->stackPos];
  1957. }
  1958. protected function yyn293($attributes) {
  1959. $this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1960. }
  1961. protected function yyn294($attributes) {
  1962. $this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  1963. }
  1964. protected function yyn295($attributes) {
  1965. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
  1966. }
  1967. protected function yyn296($attributes) {
  1968. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
  1969. }
  1970. protected function yyn297($attributes) {
  1971. $this->yyval = null;
  1972. }
  1973. protected function yyn298($attributes) {
  1974. $this->yyval = null;
  1975. }
  1976. protected function yyn299($attributes) {
  1977. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1978. }
  1979. protected function yyn300($attributes) {
  1980. $this->yyval = array();
  1981. }
  1982. protected function yyn301($attributes) {
  1983. $this->yyval = array(PHPParser_Node_Scalar_String::parseEscapeSequences($this->yyastk[$this->stackPos-(1-1)], '`'));
  1984. }
  1985. protected function yyn302($attributes) {
  1986. foreach ($this->yyastk[$this->stackPos-(1-1)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, '`'); } }; $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1987. }
  1988. protected function yyn303($attributes) {
  1989. $this->yyval = array();
  1990. }
  1991. protected function yyn304($attributes) {
  1992. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  1993. }
  1994. protected function yyn305($attributes) {
  1995. $this->yyval = new PHPParser_Node_Scalar_LNumber(PHPParser_Node_Scalar_LNumber::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes);
  1996. }
  1997. protected function yyn306($attributes) {
  1998. $this->yyval = new PHPParser_Node_Scalar_DNumber(PHPParser_Node_Scalar_DNumber::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes);
  1999. }
  2000. protected function yyn307($attributes) {
  2001. $this->yyval = new PHPParser_Node_Scalar_String(PHPParser_Node_Scalar_String::parse($this->yyastk[$this->stackPos-(1-1)]), $attributes);
  2002. }
  2003. protected function yyn308($attributes) {
  2004. $this->yyval = new PHPParser_Node_Scalar_LineConst($attributes);
  2005. }
  2006. protected function yyn309($attributes) {
  2007. $this->yyval = new PHPParser_Node_Scalar_FileConst($attributes);
  2008. }
  2009. protected function yyn310($attributes) {
  2010. $this->yyval = new PHPParser_Node_Scalar_DirConst($attributes);
  2011. }
  2012. protected function yyn311($attributes) {
  2013. $this->yyval = new PHPParser_Node_Scalar_ClassConst($attributes);
  2014. }
  2015. protected function yyn312($attributes) {
  2016. $this->yyval = new PHPParser_Node_Scalar_TraitConst($attributes);
  2017. }
  2018. protected function yyn313($attributes) {
  2019. $this->yyval = new PHPParser_Node_Scalar_MethodConst($attributes);
  2020. }
  2021. protected function yyn314($attributes) {
  2022. $this->yyval = new PHPParser_Node_Scalar_FuncConst($attributes);
  2023. }
  2024. protected function yyn315($attributes) {
  2025. $this->yyval = new PHPParser_Node_Scalar_NSConst($attributes);
  2026. }
  2027. protected function yyn316($attributes) {
  2028. $this->yyval = new PHPParser_Node_Scalar_String(PHPParser_Node_Scalar_String::parseDocString($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-2)]), $attributes);
  2029. }
  2030. protected function yyn317($attributes) {
  2031. $this->yyval = new PHPParser_Node_Scalar_String('', $attributes);
  2032. }
  2033. protected function yyn318($attributes) {
  2034. $this->yyval = new PHPParser_Node_Expr_ConstFetch($this->yyastk[$this->stackPos-(1-1)], $attributes);
  2035. }
  2036. protected function yyn319($attributes) {
  2037. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2038. }
  2039. protected function yyn320($attributes) {
  2040. $this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  2041. }
  2042. protected function yyn321($attributes) {
  2043. $this->yyval = new PHPParser_Node_Expr_UnaryPlus($this->yyastk[$this->stackPos-(2-2)], $attributes);
  2044. }
  2045. protected function yyn322($attributes) {
  2046. $this->yyval = new PHPParser_Node_Expr_UnaryMinus($this->yyastk[$this->stackPos-(2-2)], $attributes);
  2047. }
  2048. protected function yyn323($attributes) {
  2049. $this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(4-3)], $attributes);
  2050. }
  2051. protected function yyn324($attributes) {
  2052. $this->yyval = new PHPParser_Node_Expr_Array($this->yyastk[$this->stackPos-(3-2)], $attributes);
  2053. }
  2054. protected function yyn325($attributes) {
  2055. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2056. }
  2057. protected function yyn326($attributes) {
  2058. $this->yyval = new PHPParser_Node_Expr_ClassConstFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  2059. }
  2060. protected function yyn327($attributes) {
  2061. foreach ($this->yyastk[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, '"'); } }; $this->yyval = new PHPParser_Node_Scalar_Encapsed($this->yyastk[$this->stackPos-(3-2)], $attributes);
  2062. }
  2063. protected function yyn328($attributes) {
  2064. foreach ($this->yyastk[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = PHPParser_Node_Scalar_String::parseEscapeSequences($s, null); } } $s = preg_replace('~(\r\n|\n|\r)$~', '', $s); if ('' === $s) array_pop($this->yyastk[$this->stackPos-(3-2)]);; $this->yyval = new PHPParser_Node_Scalar_Encapsed($this->yyastk[$this->stackPos-(3-2)], $attributes);
  2065. }
  2066. protected function yyn329($attributes) {
  2067. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2068. }
  2069. protected function yyn330($attributes) {
  2070. $this->yyval = 'class';
  2071. }
  2072. protected function yyn331($attributes) {
  2073. $this->yyval = array();
  2074. }
  2075. protected function yyn332($attributes) {
  2076. $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
  2077. }
  2078. protected function yyn333() {
  2079. $this->yyval = $this->yyastk[$this->stackPos];
  2080. }
  2081. protected function yyn334() {
  2082. $this->yyval = $this->yyastk[$this->stackPos];
  2083. }
  2084. protected function yyn335($attributes) {
  2085. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  2086. }
  2087. protected function yyn336($attributes) {
  2088. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  2089. }
  2090. protected function yyn337($attributes) {
  2091. $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(3-3)], $this->yyastk[$this->stackPos-(3-1)], false, $attributes);
  2092. }
  2093. protected function yyn338($attributes) {
  2094. $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(1-1)], null, false, $attributes);
  2095. }
  2096. protected function yyn339($attributes) {
  2097. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2098. }
  2099. protected function yyn340($attributes) {
  2100. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2101. }
  2102. protected function yyn341($attributes) {
  2103. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2104. }
  2105. protected function yyn342($attributes) {
  2106. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2107. }
  2108. protected function yyn343($attributes) {
  2109. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(6-2)], $this->yyastk[$this->stackPos-(6-5)], $attributes);
  2110. }
  2111. protected function yyn344($attributes) {
  2112. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
  2113. }
  2114. protected function yyn345($attributes) {
  2115. $this->yyval = new PHPParser_Node_Expr_PropertyFetch($this->yyastk[$this->stackPos-(3-1)], $this->yyastk[$this->stackPos-(3-3)], $attributes);
  2116. }
  2117. protected function yyn346($attributes) {
  2118. $this->yyval = new PHPParser_Node_Expr_MethodCall($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
  2119. }
  2120. protected function yyn347($attributes) {
  2121. $this->yyval = new PHPParser_Node_Expr_FuncCall($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)], $attributes);
  2122. }
  2123. protected function yyn348($attributes) {
  2124. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
  2125. }
  2126. protected function yyn349($attributes) {
  2127. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
  2128. }
  2129. protected function yyn350($attributes) {
  2130. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2131. }
  2132. protected function yyn351($attributes) {
  2133. $this->yyval = $this->yyastk[$this->stackPos-(3-2)];
  2134. }
  2135. protected function yyn352($attributes) {
  2136. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2137. }
  2138. protected function yyn353($attributes) {
  2139. $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(2-2)], $attributes);
  2140. }
  2141. protected function yyn354($attributes) {
  2142. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2143. }
  2144. protected function yyn355($attributes) {
  2145. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2146. }
  2147. protected function yyn356($attributes) {
  2148. $this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-4)], $attributes);
  2149. }
  2150. protected function yyn357($attributes) {
  2151. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2152. }
  2153. protected function yyn358($attributes) {
  2154. $this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->stackPos-(3-1)], substr($this->yyastk[$this->stackPos-(3-3)], 1), $attributes);
  2155. }
  2156. protected function yyn359($attributes) {
  2157. $this->yyval = new PHPParser_Node_Expr_StaticPropertyFetch($this->yyastk[$this->stackPos-(6-1)], $this->yyastk[$this->stackPos-(6-5)], $attributes);
  2158. }
  2159. protected function yyn360($attributes) {
  2160. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
  2161. }
  2162. protected function yyn361($attributes) {
  2163. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
  2164. }
  2165. protected function yyn362($attributes) {
  2166. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
  2167. }
  2168. protected function yyn363($attributes) {
  2169. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch($this->yyastk[$this->stackPos-(4-1)], $this->yyastk[$this->stackPos-(4-3)], $attributes);
  2170. }
  2171. protected function yyn364($attributes) {
  2172. $this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes);
  2173. }
  2174. protected function yyn365($attributes) {
  2175. $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(4-3)], $attributes);
  2176. }
  2177. protected function yyn366($attributes) {
  2178. $this->yyval = null;
  2179. }
  2180. protected function yyn367($attributes) {
  2181. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2182. }
  2183. protected function yyn368($attributes) {
  2184. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2185. }
  2186. protected function yyn369($attributes) {
  2187. $this->yyval = $this->yyastk[$this->stackPos-(3-2)];
  2188. }
  2189. protected function yyn370($attributes) {
  2190. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2191. }
  2192. protected function yyn371($attributes) {
  2193. $this->yyval = new PHPParser_Node_Expr_List($this->yyastk[$this->stackPos-(4-3)], $attributes);
  2194. }
  2195. protected function yyn372($attributes) {
  2196. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  2197. }
  2198. protected function yyn373($attributes) {
  2199. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  2200. }
  2201. protected function yyn374($attributes) {
  2202. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2203. }
  2204. protected function yyn375($attributes) {
  2205. $this->yyval = $this->yyastk[$this->stackPos-(1-1)];
  2206. }
  2207. protected function yyn376($attributes) {
  2208. $this->yyval = null;
  2209. }
  2210. protected function yyn377($attributes) {
  2211. $this->yyval = array();
  2212. }
  2213. protected function yyn378($attributes) {
  2214. $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
  2215. }
  2216. protected function yyn379($attributes) {
  2217. $this->yyastk[$this->stackPos-(3-1)][] = $this->yyastk[$this->stackPos-(3-3)]; $this->yyval = $this->yyastk[$this->stackPos-(3-1)];
  2218. }
  2219. protected function yyn380($attributes) {
  2220. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  2221. }
  2222. protected function yyn381($attributes) {
  2223. $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(3-3)], $this->yyastk[$this->stackPos-(3-1)], false, $attributes);
  2224. }
  2225. protected function yyn382($attributes) {
  2226. $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(1-1)], null, false, $attributes);
  2227. }
  2228. protected function yyn383($attributes) {
  2229. $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(4-4)], $this->yyastk[$this->stackPos-(4-1)], true, $attributes);
  2230. }
  2231. protected function yyn384($attributes) {
  2232. $this->yyval = new PHPParser_Node_Expr_ArrayItem($this->yyastk[$this->stackPos-(2-2)], null, true, $attributes);
  2233. }
  2234. protected function yyn385($attributes) {
  2235. $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
  2236. }
  2237. protected function yyn386($attributes) {
  2238. $this->yyastk[$this->stackPos-(2-1)][] = $this->yyastk[$this->stackPos-(2-2)]; $this->yyval = $this->yyastk[$this->stackPos-(2-1)];
  2239. }
  2240. protected function yyn387($attributes) {
  2241. $this->yyval = array($this->yyastk[$this->stackPos-(1-1)]);
  2242. }
  2243. protected function yyn388($attributes) {
  2244. $this->yyval = array($this->yyastk[$this->stackPos-(2-1)], $this->yyastk[$this->stackPos-(2-2)]);
  2245. }
  2246. protected function yyn389($attributes) {
  2247. $this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes);
  2248. }
  2249. protected function yyn390($attributes) {
  2250. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(4-1)], 1), $attributes), $this->yyastk[$this->stackPos-(4-3)], $attributes);
  2251. }
  2252. protected function yyn391($attributes) {
  2253. $this->yyval = new PHPParser_Node_Expr_PropertyFetch(new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(3-1)], 1), $attributes), $this->yyastk[$this->stackPos-(3-3)], $attributes);
  2254. }
  2255. protected function yyn392($attributes) {
  2256. $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(3-2)], $attributes);
  2257. }
  2258. protected function yyn393($attributes) {
  2259. $this->yyval = new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(3-2)], $attributes);
  2260. }
  2261. protected function yyn394($attributes) {
  2262. $this->yyval = new PHPParser_Node_Expr_ArrayDimFetch(new PHPParser_Node_Expr_Variable($this->yyastk[$this->stackPos-(6-2)], $attributes), $this->yyastk[$this->stackPos-(6-4)], $attributes);
  2263. }
  2264. protected function yyn395($attributes) {
  2265. $this->yyval = $this->yyastk[$this->stackPos-(3-2)];
  2266. }
  2267. protected function yyn396($attributes) {
  2268. $this->yyval = new PHPParser_Node_Scalar_String($this->yyastk[$this->stackPos-(1-1)], $attributes);
  2269. }
  2270. protected function yyn397($attributes) {
  2271. $this->yyval = new PHPParser_Node_Scalar_String($this->yyastk[$this->stackPos-(1-1)], $attributes);
  2272. }
  2273. protected function yyn398($attributes) {
  2274. $this->yyval = new PHPParser_Node_Expr_Variable(substr($this->yyastk[$this->stackPos-(1-1)], 1), $attributes);
  2275. }
  2276. }