public function __construct($type, $line = null, $offset = null)
{
$this->type = $type;
$this->line = $line;
$this->offset = $offset;
$this->parent = null;
$this->children = [];
$this->data = [];
}