| Class | Node::ITER |
| In: |
ext/nodeinfo.c
|
| Parent: | Node |
Represents an iteration loop, e.g.:
iter do |*args|
assign args to var
body
end
A new block is created so that dynamic variables created inside the loop do not persist once the loop has terminated.
If the iter node is a POSTEXE node, indicates that the expression should be evaluated when the program terminates.