Example #1
0
        public PythonResolver()
        {
            methodResolver            = new PythonStandardModuleMethodResolver(standardModuleResolver);
            localVariableResolver     = new PythonLocalVariableResolver(classResolver);
            memberResolver            = new PythonMemberResolver(classResolver, localVariableResolver);
            methodReturnValueResolver = new PythonMethodReturnValueResolver(memberResolver);

            resolvers.Add(importResolver);
            resolvers.Add(classResolver);
            resolvers.Add(standardModuleResolver);
            resolvers.Add(methodReturnValueResolver);
            resolvers.Add(memberResolver);
            resolvers.Add(methodResolver);
            resolvers.Add(selfResolver);
            resolvers.Add(namespaceResolver);
            resolvers.Add(localVariableResolver);
        }
Example #2
0
		public PythonResolver()
		{
			methodResolver = new PythonStandardModuleMethodResolver(standardModuleResolver);
			localVariableResolver = new PythonLocalVariableResolver(classResolver);
			memberResolver = new PythonMemberResolver(classResolver, localVariableResolver);
			methodReturnValueResolver = new PythonMethodReturnValueResolver(memberResolver);
			
			resolvers.Add(importResolver);
			resolvers.Add(classResolver);
			resolvers.Add(standardModuleResolver);
			resolvers.Add(methodReturnValueResolver);
			resolvers.Add(memberResolver);
			resolvers.Add(methodResolver);
			resolvers.Add(selfResolver);
			resolvers.Add(namespaceResolver);
			resolvers.Add(localVariableResolver);
		}