// Public Methods public override IEnumerable <ICodeRequest> GetCodeRequests() { var requests = PyStatementBase.GetCodeRequests(Arguments.Select(i => i.Expression)).ToList(); if (!_className.IsEmpty && !DontIncludeClass && _className.EmitName != PyQualifiedName.ClassnameSelf) { requests.Add(new ClassCodeRequest(_className)); } if (TargetObject != null) { requests.AddRange(TargetObject.GetCodeRequests()); } return(requests); }