summaryrefslogtreecommitdiff
path: root/src/ste/ASTNode.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/ste/ASTNode.php')
-rw-r--r--src/ste/ASTNode.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ste/ASTNode.php b/src/ste/ASTNode.php
new file mode 100644
index 0000000..fc5d9cc
--- /dev/null
+++ b/src/ste/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;
+ }
+}