summaryrefslogtreecommitdiff
path: root/TagNode.php
diff options
context:
space:
mode:
Diffstat (limited to 'TagNode.php')
-rw-r--r--TagNode.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/TagNode.php b/TagNode.php
new file mode 100644
index 0000000..2527b55
--- /dev/null
+++ b/TagNode.php
@@ -0,0 +1,13 @@
+<?php
+
+namespace kch42\ste;
+
+class TagNode extends ASTNode {
+ public $name;
+ public $params = array();
+ public $sub = array();
+ public function __construct($tpl, $off, $name = "") {
+ parent::__construct($tpl, $off);
+ $this->name = $name;
+ }
+}