ForeachNode constructor

ForeachNode(
  1. String itemName,
  2. Expr collection,
  3. List<Node> body
)

Creates a loop over collection, binding each value to itemName.

Implementation

ForeachNode(this.itemName, this.collection, this.body);