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

Link to this section Summary

Functions

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

Link to this section 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.