summaryrefslogtreecommitdiff
path: root/src/ste/ASTNode.php
blob: 4eb034812b48055244d892d92dbf33904606386d (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(string $tpl, int $off)
    {
        $this->tpl    = $tpl;
        $this->offset = $off;
    }
}