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