View Source Routex.Utils (Phoenix Routes Extension Framework v0.3.0-alpha.2)
Provides an interface to functions which can be used in extensions.
Summary
Functions
Returns the AST to get the current branch from process dict or from assigns, conn or socket based on the available variables in the CALLER module.
Prints an indented text. Should be used when printing messages in the terminal during compile time.
Functions
@spec get_helper_ast(caller :: Macro.Env.t()) :: Macro.output()
Returns the AST to get the current branch from process dict or from assigns, conn or socket based on the available variables in the CALLER module.
Prints an indented text. Should be used when printing messages in the terminal during compile time.