class
Can::AST::For
- Can::AST::For
- Can::AST::Node
- Reference
- Object
Overview
<.for each={item in items}>…</.for> and :for={item in items} desugar here.
Defined in:
can/ast.crConstructors
Instance Method Summary
- #body : Array(Node)
- #body=(body : Array(Node))
- #collection : String
- #collection=(collection : String)
- #var : String
- #var=(var : String)
Instance methods inherited from class Can::AST::Node
column : Int32
column,
column=(column : Int32)
column=,
line : Int32
line,
line=(line : Int32)
line=
Constructor methods inherited from class Can::AST::Node
new(line : Int32 = 0, column : Int32 = 0)
new
Constructor Detail
def self.new(var : String, collection : String, body : Array(Can::AST::Node) = [] of Node, line = 0, column = 0)
#