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