Home | History | Annotate | Download | only in generator

Lines Matching refs:decl

741     def __init__(self, decl, addedManually=False, namespaces=[]):
742 GeneralInfo.__init__(self, decl[0], namespaces)
744 self.value = decl[1]
759 def __init__(self, decl): # [f_ctype, f_name, '', '/RW']
760 self.ctype = decl[0]
761 self.name = decl[1]
762 self.rw = "/RW" in decl[3]
768 def __init__(self, decl, namespaces=[]): # [ 'class/struct cname', ': base', [modlist] ]
769 GeneralInfo.__init__(self, decl[0], namespaces)
781 for m in decl[2]:
785 if decl[1]:
786 #self.base = re.sub(r"\b"+self.jname+r"\b", "", decl[1].replace(":", "")).strip()
787 self.base = re.sub(r"^.*:", "", decl[1].split(",")[0]).strip().replace(self.jname, "")
903 def __init__(self, decl, namespaces=[]): # [ funcname, return_ctype, [modifiers], [args] ]
904 GeneralInfo.__init__(self, decl[0], namespaces)
910 for m in decl[2]:
913 self.static = ["","static"][ "/S" in decl[2] ]
914 self.ctype = re.sub(r"^CvTermCriteria", "TermCriteria", decl[1] or "")
917 for a in decl[3]:
940 def add_class(self, decl):
941 classinfo = ClassInfo(decl, namespaces=self.namespaces)
974 for p in decl[3]:
989 def add_const(self, decl): # [ "const cname", val, [], [] ]
990 constinfo = ConstInfo(decl, namespaces=self.namespaces)
1007 def add_func(self, decl):
1008 fi = FuncInfo(decl, namespaces=self.namespaces)
1045 for decl in decls:
1046 logging.info("\n--- Incoming ---\n%s", pformat(decl, 4))
1047 name = decl[0]
1049 self.add_class(decl)
1051 self.add_const(decl)
1053 self.add_func(decl)
1223 # private java NATIVE method decl