public override IEnumerable <ICodeRequest> GetCodeRequests() { var a = PyStatementBase.GetCodeRequests <IPyValue>(Arguments); var b = PyStatementBase.GetCodeRequests(Expression); return(a.Union(b).ToArray()); }
public IEnumerable <ICodeRequest> GetCodeRequests() { var a = PyStatementBase.GetCodeRequests(Arguments); var b = PyStatementBase.GetCodeRequests(Statements); return(a.Union(b)); }
public IEnumerable <ICodeRequest> GetCodeRequests() { var a = PyStatementBase.GetCodeRequests(Name, BaseTypeName); var b = PyStatementBase.GetCodeRequests(Fields); var c = PyStatementBase.GetCodeRequests(Methods); return(a.Union(b).Union(c)); }
public override IEnumerable <ICodeRequest> GetCodeRequests() { var a = PyStatementBase.GetCodeRequests(TargetObject).ToList(); if (IncludeModule != null) { a.Add(new DependsOnModuleCodeRequest(IncludeModule, string.Format("instance field {0}", this))); } return(a); }
// 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); }
public IEnumerable <ICodeRequest> GetCodeRequests() { return(PyStatementBase.GetCodeRequests(ConstValue)); }
public override IEnumerable <ICodeRequest> GetCodeRequests() { return(PyStatementBase.GetCodeRequests(Operand)); }
public override IEnumerable <ICodeRequest> GetCodeRequests() { return(PyStatementBase.GetCodeRequests(Left, Right)); }
// Public Methods public override IEnumerable <ICodeRequest> GetCodeRequests() { var a = PyStatementBase.GetCodeRequests(Left, Right).ToArray(); return(a); }
public override IEnumerable <ICodeRequest> GetCodeRequests() { return(PyStatementBase.GetCodeRequests(PyArray, Index)); }
public override IEnumerable <ICodeRequest> GetCodeRequests() { return(PyStatementBase.GetCodeRequests(Condition, WhenTrue, WhenFalse)); }