summaryrefslogtreecommitdiff
path: root/src/ASTNode.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/ASTNode.php')
-rw-r--r--src/ASTNode.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ASTNode.php b/src/ASTNode.php
new file mode 100644
index 0000000..fc5d9cc
--- /dev/null
+++ b/src/ASTNode.php
@@ -0,0 +1,12 @@
+<?php
+
+namespace kch42\ste;
+
+abstract class ASTNode {
+ public $tpl;
+ public $offset;
+ public function __construct($tpl, $off) {
+ $this->tpl = $tpl;
+ $this->offset = $off;
+ }
+}