Patch.Mock.Code.Generators.Original (patch v0.7.0) View Source

Link to this section Summary

Functions

Generates a new original module based on the forms of the provided module.

Link to this section Functions

Link to this function

generate(abstract_forms, module, exports)

View Source

Specs

generate(
  abstract_forms :: [Patch.Mock.Code.form()],
  module :: module(),
  exports :: Patch.Mock.Code.exports()
) :: [Patch.Mock.Code.form()]

Generates a new original module based on the forms of the provided module.