summaryrefslogtreecommitdiff
path: root/vendor/nikic/php-parser/grammar/tokens.template
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/nikic/php-parser/grammar/tokens.template')
-rw-r--r--vendor/nikic/php-parser/grammar/tokens.template17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/nikic/php-parser/grammar/tokens.template b/vendor/nikic/php-parser/grammar/tokens.template
new file mode 100644
index 000000000..ba4e4901c
--- /dev/null
+++ b/vendor/nikic/php-parser/grammar/tokens.template
@@ -0,0 +1,17 @@
+<?php
+$meta #
+#semval($) $this->semValue
+#semval($,%t) $this->semValue
+#semval(%n) $this->stackPos-(%l-%n)
+#semval(%n,%t) $this->stackPos-(%l-%n)
+
+namespace PhpParser\Parser;
+#include;
+
+/* GENERATED file based on grammar/tokens.y */
+final class Tokens
+{
+#tokenval
+ const %s = %n;
+#endtokenval
+}