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

namespace kch42\ste;

abstract class ASTNode
{
    /** @var string */
    public $tpl;

    /** @var int */
    public $offset;

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