View Source Recode.Formatter behaviour (Recode v0.5.0)
The default formatter and the formatter bebaviour.
Link to this section Summary
Link to this section Callbacks
@callback format( type :: :project | :results | :tasks_ready, {Rewrite.Project.t(), config :: keyword()}, opts :: keyword() ) :: any()
@callback format( type :: :task, {Rewrite.Project.t(), config :: keyword()}, {Rewrite.Source.t(), module(), keyword()}, opts :: keyword() ) :: any()
Link to this section Functions
@spec format( type :: :project | :results | :tasks_ready, {Rewrite.Project.t(), config :: keyword()}, opts :: keyword() ) :: any()
@spec format( type :: :task, {Rewrite.Project.t(), config :: keyword()}, {Rewrite.Source.t(), module(), keyword()}, opts :: keyword() ) :: any()