Class: Duby::AST::JRubyAst::UntilNode
- Inherits:
-
Object
- Object
- Duby::AST::JRubyAst::UntilNode
- Defined in:
- lib/duby/transform.rb
Instance Method Summary collapse
Instance Method Details
#transform(transformer, parent) ⇒ Object
1031 1032 1033 1034 1035 1036 1037 1038 |
# File 'lib/duby/transform.rb', line 1031 def transform(transformer, parent) Loop.new(parent, position, evaluate_at_start, true) do |loop| [ Condition.new(loop, condition_node.position) {|cond| [transformer.transform(condition_node, cond)]}, transformer.transform(body_node, loop) ] end end |