string GetFieldName(string[] memberNames) { if (memberNames.Length > 1) { if (PythonSelfResolver.IsSelfExpression(memberNames[0])) { return(memberNames[1]); } } return(null); }
IClass FindClass(string className) { IClass c = FindClassFromClassResolver(className); if (c != null) { return(c); } if (PythonSelfResolver.IsSelfExpression(className)) { return(FindClassFromSelfResolver()); } return(FindClassFromLocalVariableResolver(className)); }