View Source etran_util (etran v0.5.2)
Link to this section 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 infoDecompile source code from the AST
Transform
Forms by applying a lambda Fun.Transform
Forms by applying a lambda Fun.Link to this section Functions
-spec debug_options(atom(), list()) -> #{orig => boolean(), ast => boolean(), src => boolean()}.
-spec parse_options(list(), list()) -> [boolean()].
KnownFlags are found in Options.
Fun for the AST and optionally print debug info
-spec source_forms(list(), list()) -> ok | string().
-spec transform(fun((Forms :: term()) -> tuple() | continue), Forms :: term()) -> list().
Forms by applying a lambda Fun.
-spec transform(fun((Forms :: term(), State :: term()) -> {tuple() | continue, NewState :: term()}),
Forms :: term(),
State :: term()) ->
{list(), NewState :: term()}.
Forms by applying a lambda Fun.