Patch.Mock.Code.Transforms.Reroute — patch v0.16.1
View Source Patch.Mock.Code.Transforms.Reroute (patch v0.16.1) Summary Functions transform(abstract_forms, source, destination) Transforms the provided forms to rewrite any remote calls to the source module into remote calls to the destination module. Functions Link to this function transform(abstract_forms, source, destination) View Source @spec transform( abstract_forms :: [ Patch.Mock.Code.form ()], source :: module (), destination :: module () ) :: [ Patch.Mock.Code.form ()] Transforms the provided forms to rewrite any remote calls to the source module into remote calls to the destination module.