Routex.Dev (Routex v1.3.0-rc.1)
View SourceProvides 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.
Examples
iex> ast = quote do: Map.put(my_map, :key, value)
iex> print_ast(ast)
Map.put(my_map, :key, value)
...actual AST...