Routex.Dev (Routex v1.2.2)

View Source

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

inspect_ast(ast, opts \\ [limit: :infinity, structs: false])

@spec inspect_ast(ast :: Macro.t(), list()) :: Macro.t()

Macro.escape/1 and IO.inspect/2 the given input. Options are passed through to IO.inspect. Returns the input.