Patch.Mock.Code.Generators.Facade (patch v0.10.1) View Source
Generator for facade modules.
facade modules are generated by taking the target module and creating a stub function for
each function in the module that calls the delegate modules corresponding function.
The facade module can optionally expose private functions as public.
Link to this section Summary
Functions
Generates a new facade module based on the forms of the provided module.
Link to this section Functions
Specs
generate( abstract_forms :: [Patch.Mock.Code.form()], module :: module(), exports :: Patch.Mock.Code.exports() ) :: [Patch.Mock.Code.form()]
Generates a new facade module based on the forms of the provided module.