def __init__(self, name, category): Type.__init__(self, name, category) self.cfunc_prefix = ""
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_)
def __init__(self, name, codes): Type.__init__(self, name, Type.FLAGS) self.codes = codes
def __init__(self, name, code_names_values): Type.__init__(self, name, Type.ENUMERATION) self.code_names_values = code_names_values
def __init__(self, name, error_codes): Type.__init__(self, name, Type.ERROR_DOMAIN) self.error_codes = error_codes