Lines Matching refs:decl
241 def __init__(self, decl):
242 self.tp = decl[0].replace("*", "_ptr")
243 self.name = decl[1]
245 if "/RW" in decl[3]:
249 def __init__(self, name, decl=None):
261 if decl:
262 bases = decl[1].split()[1:]
276 for m in decl[2]:
284 self.props = [ClassProp(p) for p in decl[3]]
391 def __init__(self, classname, name, decl, isconstructor):
396 self.rettype = decl[4] if len(decl) >=5 else handle_ptr(decl[1])
401 for a in decl[3]:
505 def add_variant(self, decl):
506 self.variants.append(FuncVariant(self.classname, self.name, decl, self.isconstructor))
749 def add_class(self, stype, name, decl):
750 classinfo = ClassInfo(name, decl)
782 def add_const(self, name, decl):
794 def add_func(self, decl):
795 namespace, classes, barename = self.split_decl_name(decl[0])
807 for m in decl[2]:
825 func.add_variant(decl)
869 for decl in decls:
870 name = decl[0]
876 self.add_class(stype, name, decl)
879 decl)
882 self.add_func(decl)