EEx.Engine.handle_assign
You're seeing just the function
handle_assign
, go back to EEx.Engine module for more information.
Specs
Handles assigns in quoted expressions.
A warning will be printed on missing assigns. Future versions will raise.
This can be added to any custom engine by invoking
handle_assign/1
with Macro.prewalk/2
:
def handle_expr(state, token, expr) do
expr = Macro.prewalk(expr, &EEx.Engine.handle_assign/1)
super(state, token, expr)
end