コード例 #1
0
ファイル: ZLClassInfo.cs プロジェクト: pyzh/ZLanguage3
        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[] { });
        }