exfmt v0.2.2 Exfmt.Ast

Functions for working with extended Elixir AST.

Link to this section Summary

Functions

Compare two ASTs to see if they are semantically equivalent

Preprocess an AST before printing

Link to this section Functions

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 preprocess(ast)
preprocess(Macro.t) :: Macro.t

Preprocess an AST before printing.

  • Introduces empty lines where desired.