Ejemplo n.º 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);
        }
Ejemplo n.º 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);
		}