public void Resolve(ResolveEnvironment environment) { var visitor = new ResolveSymbolDeclVisitor(); visitor.Environment = environment; Accept(visitor); }