summaryrefslogtreecommitdiff
path: root/src/ste/TextNode.php
blob: 199c20327851e34d1f7e66acd7bedef93d4d2bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

namespace kch42\ste;

class TextNode extends ASTNode
{
    /** @var string */
    public $text;

    /**
     * @param string $tpl
     * @param int $off
     * @param string $text
     */
    public function __construct($tpl, $off, $text = "")
    {
        parent::__construct($tpl, $off);
        $this->text = $text;
    }
}