exfmt v0.5.0 Exfmt.Ast

Functions for working with extended Elixir AST.

Link to this section Summary

Functions

Compact block wrapped literals into specialised forms

Compare two ASTs to see if they are semantically equivalent

Introduces empty lines to group related expressions

Link to this section Functions

Link to this function compact_wrapped_literals(ast)
compact_wrapped_literals(Macro.t) :: Macro.t

Compact block wrapped literals into specialised forms.

Link to this function eq?(x, y)
eq?(Macro.t, Macro.t) :: boolean

Compare two ASTs to see if they are semantically equivalent.

Link to this function insert_empty_lines(ast)
insert_empty_lines(Macro.t) :: Macro.t

Introduces empty lines to group related expressions.