View Source Routex.Dev (Phoenix Routes Extension Framework v0.3.0-alpha.4)
Provides functions to aid during development
Summary
Functions
Macro.escape/1
and IO.inspect/2
the given input. Options are
passed through to IO.inspect
. Returns the input.
Helper function to inspect AST as formatted code. Returns the input.
Functions
Macro.escape/1
and IO.inspect/2
the given input. Options are
passed through to IO.inspect
. Returns the input.
Helper function to inspect AST as formatted code. Returns the input.
Example
iex> ast = quote do: Map.put(my_map, :key, value)
iex> print_ast(ast)
Map.put(my_map, :key, value)
...actual AST...