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

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
@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.