View Source Dialyxir.Formatter behaviour (Dialyxir v1.4.6)

Elixir-friendly dialyzer formatter.

Wrapper around normal Dialyzer warning messages that provides example output for error messages.

Summary

Types

@type t() :: module()
@type warning() ::
  {tag :: term(), {file :: Path.t(), location :: :erl_anno.location()},
   {atom(), list()}}

Callbacks

@callback format(warning()) :: String.t()

Functions

Link to this function

format_and_filter(warnings, filterer, filter_map_args, formatter, quiet_with_result? \\ false)

View Source
@spec format_and_filter([tuple()], module(), Keyword.t(), [t()], boolean()) :: tuple()
Link to this function

formatted_time(duration_us)

View Source