Class: Citrus::While
Instance Method Summary collapse
Instance Method Details
#codegen(g) ⇒ Object
186 187 188 189 190 191 |
# File 'lib/citrus/nodes.rb', line 186 def codegen(g) g.preploop(:while) g.while(condition.codegen(g).last) do |gw| expressions.each { |e| e.codegen(gw) } end end |