Patch.Mock.Code.Transforms.Clean (patch v0.6.0) View Source

Cleans abstract form to prepare it for subsequent generation.

Everything except for the module attribute, exports, and functions are removed.

Link to this section Summary

Link to this section Functions

Link to this function

transform(abstract_forms)

View Source

Specs

transform(abstract_forms :: [Patch.Mock.Code.form()]) :: [
  Patch.Mock.Code.form()
]