public virtual bool HasZProcDesc(ZCMethodDesc zdesc) { foreach (ZLMethodDesc item in ZDescs) { if (ZDescUtil.ZEqualsDesc(item, zdesc))//)item.ZEquals(procDesc)) { return(true); } } return(false); }
public ZCMethodInfo[] SearchDeclaredZMethod(ZCMethodDesc zdesc) { List <ZCMethodInfo> methods = new List <ZCMethodInfo>(); var ZMethods = this._ZCompilingMethods; foreach (ZCMethodInfo item in ZMethods) { if (item.HasZProcDesc(zdesc)) { methods.Add(item); } } return(methods.ToArray()); }
public ZLMethodInfo[] SearchDeclaredZMethod(ZCMethodDesc zcall) { List <ZLMethodInfo> methods = new List <ZLMethodInfo>(); var ZMethods = this.ZMethods; foreach (var item in ZMethods) { if (item.HasZProcDesc(zcall)) { methods.Add(item); } } return(methods.ToArray()); }
public ZLMethodInfo[] SearchZMethod(ZCMethodDesc zdesc) { ZLClassInfo temp = this; while (temp != null) { ZLMethodInfo[] zmethods = temp.SearchDeclaredZMethod(zdesc); if (zmethods.Length > 0) { return(zmethods); } else { temp = temp.BaseZClass; } } return(new ZLMethodInfo[] { }); }
public ZCMethodInfo(ZCClassInfo zcclass, bool isStatic) { ZClass = zcclass; IsStatic = isStatic; ZMethodDesc = new ZCMethodDesc(this); }
public ZCMethodInfo(ZCClassInfo zcclass) { ZClass = zcclass; ZMethodDesc = new ZCMethodDesc(this); }
public bool HasZProcDesc(ZCMethodDesc procDesc) { return(ZDescUtil.ZEqualsDesc(ZMethodDesc, procDesc)); //return ZMethodDesc.ZEquals(procDesc); }