ExStub v0.2.0 ExStub.Utils

ExStub utilitie class.

This module is for internal use only.

Summary

Functions

Get the functions that dont have a catch all in the stub module

Check that all the stub functions exist in the original module

Convert the list of defs to DefInfo

Gets the functions passed to the stub

Get the functions that done exisit in the stub module

Functions

add_call_to_body(call, body)
add_recording_to_default(funcs)
catch_all_functions(module_functions, stub_functions)

Get the functions that dont have a catch all in the stub module

check_all_functions_exist(stub_functions, module_functions, module)

Check that all the stub functions exist in the original module

functions_and_params(functions)

Convert the list of defs to DefInfo

functions_passed(functions)

Gets the functions passed to the stub

non_exisiting_functions(module_functions, stub_functions)

Get the functions that done exisit in the stub module

params_count(params)
stub_functions_with_catch_all(stub_functions, catch_all_to_add, module)