type = $type; $this->symbol = $type->toString(); } public function traverse(TokenStream $stream): Type { return $this->type; } public function symbol(): string { return $this->symbol; } }