diff options
Diffstat (limited to 'src/TextNode.php')
-rw-r--r-- | src/TextNode.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/TextNode.php b/src/TextNode.php new file mode 100644 index 0000000..d48c2bb --- /dev/null +++ b/src/TextNode.php @@ -0,0 +1,11 @@ +<?php + +namespace kch42\ste; + +class TextNode extends ASTNode { + public $text; + public function __construct($tpl, $off, $text = "") { + parent::__construct($tpl, $off); + $this->text = $text; + } +}
\ No newline at end of file |