private IMember GetPropertyReturnType(IPythonProperty p, Expression expr)
 {
     if (IsUnknown(p.Type))
     {
         // Function may not have been walked yet. Do it now.
         _functionWalkers.ProcessFunction(p.FunctionDefinition);
     }
     return(!IsUnknown(p.Type) ? new AstPythonConstant(p.Type, GetLoc(expr)) : null);
 }
Beispiel #2
0
 public BuiltinPropertyInfo(IPythonProperty value, PythonAnalyzer projectState)
     : base(value.Type, projectState)
 {
     _value = value;
     _doc   = null;
 }