View Source Patch.Mock.Code.Transforms.Rename (patch v0.15.0)

Summary

Functions

Transforms the provided forms to rename the module to the provided module name.

Functions

Link to this function

transform(abstract_forms, module)

View Source
@spec transform(abstract_forms :: [Patch.Mock.Code.form()], module :: module()) :: [
  Patch.Mock.Code.form()
]

Transforms the provided forms to rename the module to the provided module name.