public ResolveResult Resolve(PythonResolverContext resolverContext, ExpressionResult expressionResult) { MemberName memberName = new MemberName(expressionResult.Expression); IClass matchingClass = classResolver.GetClass(resolverContext, memberName.Type); if (matchingClass != null) { return(new PythonMethodGroupResolveResult(matchingClass, memberName.Name)); } return(null); }
LocalResolveResult CreateLocalResolveResult(string typeName, PythonResolverContext resolverContext) { IClass resolvedClass = classResolver.GetClass(resolverContext, typeName); if (resolvedClass != null) { string identifier = resolverContext.Expression; return(CreateLocalResolveResult(identifier, resolvedClass)); } return(null); }
IClass FindClassFromClassResolver(string className) { return(classResolver.GetClass(resolverContext, className)); }