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

Summary

Functions

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

Functions

Link to this function

generate(abstract_forms, module, exports)

View Source
@spec 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.