def lookup_methods(self, klasses, prefix): aList = codewise.cmd_members([klasses[0]]) hits = (z.split(None, 1) for z in aList if z.strip()) #ctags patterns need radical cleanup desc = [] for h in hits: s = h[0] fn = h[1].strip() if fn.startswith('/'): sig = fn[2:-4].strip() else: sig = fn desc.append(s + '\t' + sig) aList = list(set(desc)) aList.sort() return aList
def lookup_methods(self,klasses, prefix): aList = codewise.cmd_members([klasses[0]]) hits = (z.split(None,1) for z in aList if z.strip()) #ctags patterns need radical cleanup desc = [] for h in hits: s = h[0] fn = h[1].strip() if fn.startswith('/'): sig = fn[2:-4].strip() else: sig = fn desc.append(s + '\t' + sig) aList = list(set(desc)) aList.sort() return aList