etran_util (etran v0.5.3)
View SourceErlang parse transform utility functions
Summary
Functions
Apply parse transform with debug printing options
Get parse transforms debug options
Check if KnownFlags are found in Options.
Call Fun for the AST and optionally print debug info
Decompile source code from the AST
Transform Forms by applying a lambda Fun.
Transform Forms by applying a lambda Fun.
Functions
Apply parse transform with debug printing options
Get parse transforms debug options
Check if KnownFlags are found in Options.
Call Fun for the AST and optionally print debug info
Decompile source code from the AST
Transform Forms by applying a lambda Fun.
-spec transform(fun((Forms :: term(), State :: term()) -> {tuple() | continue, NewState :: term()}), Forms :: term(), State :: term()) -> {list(), NewState :: term()}.
Transform Forms by applying a lambda Fun.