class Crystal::Macros::MacroFor
Overview
A for
loop inside a macro, e.g.
{% for x in exp %}
puts {{x}}
{% end %}
Defined in:
compiler/crystal/macros.crInstance Method Summary
-
#body : ASTNode
The body of the
for
loop. -
#exp : ASTNode
The expression after
in
. -
#vars : ArrayLiteral(Var)
The variables declared after
for
.