private void UpdateClassMembers() { // Add members from this file _class.AddMembers(Eval.CurrentScope.Variables, false); // Add members from stub var stubClass = Eval.Module.Stub?.GetMember <IPythonClassType>(_class.Name); _class.AddMembers(stubClass, false); }
private void UpdateClassMembers() { // Add members from this file var members = Eval.CurrentScope.Variables.Where(v => v.Source == VariableSource.Declaration || v.Source == VariableSource.Import); _class.AddMembers(members, false); // Add members from stub var stubClass = Eval.Module.Stub?.GetMember <IPythonClassType>(_class.Name); _class.AddMembers(stubClass, false); }
private void UpdateClassMembers() { // Add members from this file var members = Eval.CurrentScope.Variables.Where(v => v.Source == VariableSource.Declaration || v.Source == VariableSource.Import); _class.AddMembers(members, false); }