public function __construct($filename, Node $node, $type) { $this->filename = $filename; $this->node = $node; $this->type = $type; }