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); }
public BuiltinPropertyInfo(IPythonProperty value, PythonAnalyzer projectState) : base(value.Type, projectState) { _value = value; _doc = null; }