summaryrefslogtreecommitdiff
path: root/vendor/nikic/php-parser/grammar/parser.template
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-09 02:49:56 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-09 03:08:30 +0000
commite41d6361221a30ca9d996cde7591111e626b7e1c (patch)
tree4572f61f37bbc76192ad60e0940c281483bc03af /vendor/nikic/php-parser/grammar/parser.template
parentab0aabf8548c206f3f624de5451a9b6abbde90be (diff)
Remove dev dependencies and update the rest.
Diffstat (limited to 'vendor/nikic/php-parser/grammar/parser.template')
-rw-r--r--vendor/nikic/php-parser/grammar/parser.template106
1 files changed, 0 insertions, 106 deletions
diff --git a/vendor/nikic/php-parser/grammar/parser.template b/vendor/nikic/php-parser/grammar/parser.template
deleted file mode 100644
index 6166607c9..000000000
--- a/vendor/nikic/php-parser/grammar/parser.template
+++ /dev/null
@@ -1,106 +0,0 @@
-<?php
-$meta #
-#semval($) $this->semValue
-#semval($,%t) $this->semValue
-#semval(%n) $stackPos-(%l-%n)
-#semval(%n,%t) $stackPos-(%l-%n)
-
-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);
-
- protected $YY2TBLSTATE = #(YY2TBLSTATE);
- protected $numNonLeafStates = #(YYNLSTATES);
-
- 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
-
- protected function initReduceCallbacks() {
- $this->reduceCallbacks = [
-#reduce
- %n => function ($stackPos) {
- %b
- },
-#noact
- %n => function ($stackPos) {
- $this->semValue = $this->semStack[$stackPos];
- },
-#endreduce
- ];
- }
-}
-#tailcode;