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