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

Cleans abstract form to prepare it for subsequent generation.

The following forms are retained:

  • module attribute
  • exports
  • no_auto_import compiler options (This is needed to prevent R14 shadow import warnings)
  • functions

Link to this section Summary

Link to this section Functions

Link to this function


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