ExStub v0.2.0 ExStub.Generator

Provide functions to generate a forwarding function, and the stub module.

This module is for internal use only.

Summary

Functions

create_method(arg, module)

Create a forwarding method

create_method(func_name, params, module)
generate_forwarding_functions(functions, module)

Generate all the forwarding functions

generate_stub_module(stub_name, functions)

Generate the stub module

module_ast(module)

Convert module from string to AST

recording_call(func, params)