def __init__(self, name, category):
     
     Type.__init__(self, name, category)
     
     self.cfunc_prefix = ""
     
     
     
示例#2
0
    def visit_type_declaration(self, typename, origin):

        type_ = Type(typename, Type.OTHER)
        type_.filepath_origin = origin

        module = self._module_stack[-1]
        module.add_element(type_)
示例#3
0
    def __init__(self, name, codes):

        Type.__init__(self, name, Type.FLAGS)

        self.codes = codes
示例#4
0
 def __init__(self, name, code_names_values):
     
     Type.__init__(self, name, Type.ENUMERATION)
     
     self.code_names_values = code_names_values
    def __init__(self, name, category):

        Type.__init__(self, name, category)

        self.cfunc_prefix = ""
示例#6
0
    def __init__(self, name, code_names_values):

        Type.__init__(self, name, Type.ENUMERATION)

        self.code_names_values = code_names_values
示例#7
0
 def __init__(self, name, codes):
     
     Type.__init__(self, name, Type.FLAGS)
     
     self.codes = codes
示例#8
0
    def __init__(self, name, error_codes):

        Type.__init__(self, name, Type.ERROR_DOMAIN)

        self.error_codes = error_codes
示例#9
0
 def __init__(self, name, error_codes):
     
     Type.__init__(self, name, Type.ERROR_DOMAIN)
     
     self.error_codes = error_codes