3 #semval($) $this->semValue
4 #semval($,%t) $this->semValue
5 #semval(%n) $this->stackPos-(%l-%n)
6 #semval(%n,%t) $this->stackPos-(%l-%n)
8 namespace PhpParser\Parser;
12 use PhpParser\Node\Expr;
13 use PhpParser\Node\Name;
14 use PhpParser\Node\Scalar;
15 use PhpParser\Node\Stmt;
18 /* This is an automatically GENERATED file, which should not be manually edited.
19 * Instead edit one of the following:
20 * * the grammar files grammar/php5.y or grammar/php7.y
21 * * the skeleton file grammar/parser.template
22 * * the preprocessing script grammar/rebuildParsers.php
24 class #(-p) extends \PhpParser\ParserAbstract
26 protected $tokenToSymbolMapSize = #(YYMAXLEX);
27 protected $actionTableSize = #(YYLAST);
28 protected $gotoTableSize = #(YYGLAST);
30 protected $invalidSymbol = #(YYBADCH);
31 protected $errorSymbol = #(YYINTERRTOK);
32 protected $defaultAction = #(YYDEFAULT);
33 protected $unexpectedTokenRule = #(YYUNEXPECTED);
35 protected $YY2TBLSTATE = #(YY2TBLSTATE);
36 protected $YYNLSTATES = #(YYNLSTATES);
38 protected $symbolToName = array(
42 protected $tokenToSymbol = array(
46 protected $action = array(
50 protected $actionCheck = array(
54 protected $actionBase = array(
58 protected $actionDefault = array(
62 protected $goto = array(
66 protected $gotoCheck = array(
70 protected $gotoBase = array(
74 protected $gotoDefault = array(
78 protected $ruleToNonTerminal = array(
82 protected $ruleToLength = array(
87 protected $productions = array(
93 protected function reduceRule%n() {
98 protected function reduceRule%n() {
99 $this->semValue = $this->semStack[$this->stackPos];