public function __construct($name, Node\Stmt\Class_ $statement = null, $type = 0) { $this->name = $name; $this->statement = $statement; $this->type = $type; }