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

Link to this function

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

View Source
@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.