Blame view

vendor/nikic/php-parser/grammar/parser.template 2.15 KB
c4650843   Etienne Pallier   Ajout du dossier ...
1
2
3
4
<?php
$meta #
#semval($) $this->semValue
#semval($,%t) $this->semValue
d06254b2   Etienne Pallier   bugfix plugin mig...
5
6
#semval(%n) $this->stackPos-(%l-%n)
#semval(%n,%t) $this->stackPos-(%l-%n)
c4650843   Etienne Pallier   Ajout du dossier ...
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

namespace PhpParser\Parser;

use PhpParser\Error;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Name;
use PhpParser\Node\Scalar;
use PhpParser\Node\Stmt;
#include;

/* This is an automatically GENERATED file, which should not be manually edited.
 * Instead edit one of the following:
 *  * the grammar files grammar/php5.y or grammar/php7.y
 *  * the skeleton file grammar/parser.template
 *  * the preprocessing script grammar/rebuildParsers.php
 */
class #(-p) extends \PhpParser\ParserAbstract
{
    protected $tokenToSymbolMapSize = #(YYMAXLEX);
    protected $actionTableSize = #(YYLAST);
    protected $gotoTableSize = #(YYGLAST);

    protected $invalidSymbol = #(YYBADCH);
    protected $errorSymbol = #(YYINTERRTOK);
    protected $defaultAction = #(YYDEFAULT);
    protected $unexpectedTokenRule = #(YYUNEXPECTED);

d06254b2   Etienne Pallier   bugfix plugin mig...
35
36
    protected $YY2TBLSTATE  = #(YY2TBLSTATE);
    protected $YYNLSTATES   = #(YYNLSTATES);
c4650843   Etienne Pallier   Ajout du dossier ...
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

    protected $symbolToName = array(
        #listvar terminals
    );

    protected $tokenToSymbol = array(
        #listvar yytranslate
    );

    protected $action = array(
        #listvar yyaction
    );

    protected $actionCheck = array(
        #listvar yycheck
    );

    protected $actionBase = array(
        #listvar yybase
    );

    protected $actionDefault = array(
        #listvar yydefault
    );

    protected $goto = array(
        #listvar yygoto
    );

    protected $gotoCheck = array(
        #listvar yygcheck
    );

    protected $gotoBase = array(
        #listvar yygbase
    );

    protected $gotoDefault = array(
        #listvar yygdefault
    );

    protected $ruleToNonTerminal = array(
        #listvar yylhs
    );

    protected $ruleToLength = array(
        #listvar yylen
    );
#if -t

    protected $productions = array(
        #production-strings;
    );
#endif
c4650843   Etienne Pallier   Ajout du dossier ...
91
#reduce
d06254b2   Etienne Pallier   bugfix plugin mig...
92
93
94
95

    protected function reduceRule%n() {
        %b
    }
c4650843   Etienne Pallier   Ajout du dossier ...
96
#noact
d06254b2   Etienne Pallier   bugfix plugin mig...
97
98
99

    protected function reduceRule%n() {
        $this->semValue = $this->semStack[$this->stackPos];
c4650843   Etienne Pallier   Ajout du dossier ...
100
    }
d06254b2   Etienne Pallier   bugfix plugin mig...
101
#endreduce
c4650843   Etienne Pallier   Ajout du dossier ...
102
103
}
#tailcode;