def wrapper_creator_type(self): if self.declaration.type_qualifiers.has_static: return declarations.free_function_type_t( return_type=self.wrapper_type ) else: return declarations.free_function_type_t( return_type=self.wrapper_type , arguments_types=[self.wrapped_class_type] )
def function_type(self): args = map( lambda arg: arg.type, self.controller.wrapper_args ) if self.controller.inst_arg: args.insert( 0, self.controller.inst_arg.type ) return declarations.free_function_type_t( return_type=self.controller.wrapper_return_type , arguments_types=args )
def function_type(self): args = [arg.decl_type for arg in self.controller.wrapper_args] if self.controller.inst_arg: args.insert(0, self.controller.inst_arg.decl_type) return declarations.free_function_type_t( return_type=self.controller.wrapper_return_type, arguments_types=args)
def _get_setter_type(self): return declarations.free_function_type_t( return_type=declarations.void_t(), arguments_types=[ declarations.reference_t(self._get_class_inst_type()), self._get_exported_var_type() ])
def function_type(self): args = map(lambda arg: arg.type, self.controller.wrapper_args) if self.controller.inst_arg: args.insert(0, self.controller.inst_arg.type) return declarations.free_function_type_t( return_type=self.controller.wrapper_return_type, arguments_types=args)
def function_type(self): args = [arg.decl_type for arg in self.controller.wrapper_args] if self.controller.inst_arg: args.insert( 0, self.controller.inst_arg.decl_type ) return declarations.free_function_type_t( return_type=self.controller.wrapper_return_type , arguments_types=args )
def _get_getter_type(self): if self.declaration.type_qualifiers.has_static: arguments_types = [] else: arguments_types = [self._get_class_inst_type(True)] return declarations.free_function_type_t( return_type=self._get_var_type(), arguments_types=arguments_types)
def _get_setter_type(self): if self.declaration.type_qualifiers.has_static: arguments_types = [self.declaration.decl_type] else: arguments_types = [ self._get_class_inst_type(False), self.declaration.decl_type ] return declarations.free_function_type_t( return_type=declarations.void_t(), arguments_types=arguments_types)
def default_function_type(self): cntrl = self.controller.default_controller args = [cntrl.inst_arg.type] + map(lambda arg: arg.type, cntrl.wrapper_args) return declarations.free_function_type_t( return_type=cntrl.wrapper_return_type, arguments_types=args)
def function_type(self): return declarations.free_function_type_t( return_type=self.controller.wrapper_return_type, arguments_types=[arg.type for arg in self.controller.wrapper_args])
def __read_function_type(self, attrs): answer = declarations.free_function_type_t() self.__read_calldef(answer, attrs, False) return answer
def _get_setter_type(self): return declarations.free_function_type_t( return_type=declarations.void_t() , arguments_types=[ declarations.reference_t( self._get_class_inst_type() ) , self._get_exported_var_type() ] )
def wrapper_creator_type(self): return declarations.free_function_type_t( return_type=self.wrapper_type , arguments_types=[self.wrapped_class_type] )
def default_function_type(self): cntrl = self.controller.default_controller args = [cntrl.inst_arg.type] + map( lambda arg: arg.type, cntrl.wrapper_args ) return declarations.free_function_type_t( return_type=cntrl.wrapper_return_type , arguments_types=args )
def default_function_type(self): cntrl = self.controller.default_controller args = [cntrl.inst_arg.decl_type ] + [arg.decl_type for arg in cntrl.wrapper_args] return declarations.free_function_type_t( return_type=cntrl.wrapper_return_type, arguments_types=args)
def function_type(self): return declarations.free_function_type_t( return_type=self.controller.wrapper_return_type , arguments_types=[ arg.type for arg in self.controller.wrapper_args ] )
def default_function_type(self): cntrl = self.controller.default_controller args = [cntrl.inst_arg.decl_type] + [arg.decl_type for arg in cntrl.wrapper_args] return declarations.free_function_type_t( return_type=cntrl.wrapper_return_type , arguments_types=args )