View Source Recode.Formatter behaviour (Recode v0.1.1)

The default formatter and the formatter bebaviour.

Link to this section Summary

Link to this section Callbacks

Link to this callback

format( type, {}, opts )

View Source
@callback format(
  type :: :project | :results | :tasks_ready,
  {Recode.Project.t(), config :: keyword()},
  opts :: keyword()
) :: any()
Link to this callback

format( type, {}, {}, opts )

View Source
@callback format(
  type :: :task,
  {Recode.Project.t(), config :: keyword()},
  {Recode.Source.t(), module(), keyword()},
  opts :: keyword()
) :: any()

Link to this section Functions

@spec format(
  type :: :project | :results | :tasks_ready,
  {Recode.Project.t(), config :: keyword()},
  opts :: keyword()
) :: any()
Link to this function

format(atom, arg1, arg2, opts)

View Source
@spec format(
  type :: :task,
  {Recode.Project.t(), config :: keyword()},
  {Recode.Source.t(), module(), keyword()},
  opts :: keyword()
) :: any()