/** * Constructor * @param BasicNode $root */ public function __construct(Linker $linker, BasicNode $root) { $this->linker = $linker; $this->root = $root; $this->linker->setCompiler($this); }