summaryrefslogtreecommitdiff
path: root/src/TextNode.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2014-05-24 14:45:13 +0200
committerKevin Chabowski <kevin@kch42.de>2014-05-24 14:45:13 +0200
commit3c51baa4167d5a68ff010dc81525b9340c5f1329 (patch)
tree87dbb507a20a8946f93ea8b26a1a784d5eec62ea /src/TextNode.php
parent9f86139b7604ea782a35e09bf9d0c55154197051 (diff)
downloadste-3c51baa4167d5a68ff010dc81525b9340c5f1329.tar.gz
ste-3c51baa4167d5a68ff010dc81525b9340c5f1329.tar.bz2
ste-3c51baa4167d5a68ff010dc81525b9340c5f1329.zip
Moved code into src subfolder and fixed docu
Diffstat (limited to 'src/TextNode.php')
-rw-r--r--src/TextNode.php11
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