View Source rebar3_ast_formatter behaviour (rebar3_format v1.3.0)

Default formatter for modules that use the AST to pretty-print code

Link to this section Summary

Functions

Format a file. Apply formatting rules to a file containing erlang code. Use Opts to configure the formatter.

Link to this section Callbacks

-callback format(erl_syntax:forms(), [pos_integer()], rebar3_formatter:opts()) -> string().

Link to this section Functions

Link to this function

format(File, Formatter, Opts)

View Source
Format a file. Apply formatting rules to a file containing erlang code. Use Opts to configure the formatter.