/** * Default visitor for node kinds that do not have * an overriding method * * @param Node $node * A node to parse * * @return Context * A new or an unchanged context resulting from * parsing the node */ public function visit(Node $node) : Context { assert(false, "Unknown left side of assignment in {$this->context} with node type " . Debug::nodeName($node)); return $this->visitVar($node); }