Class: Citrus::For
Instance Method Summary collapse
Instance Method Details
#codegen(g) ⇒ Object
195 196 197 198 199 200 201 |
# File 'lib/citrus/nodes.rb', line 195 def codegen(g) ary = indices.codegen(g) g.preploop(:for, var.value, ary) g.for(var.value, ary) do |gf| expressions.each { |e| e.codegen(gf) } end end |