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