Class: Duby::AST::JRubyAst::AndNode
Instance Method Summary collapse
Instance Method Details
#transform(transformer, parent) ⇒ Object
566 567 568 569 570 571 572 573 574 |
# File 'lib/duby/transform.rb', line 566 def transform(transformer, parent) If.new(parent, position) do |iff| [ Condition.new(iff, first_node.position) {|cond| [transformer.transform(first_node, cond)]}, transformer.transform(second_node, iff), nil ] end end |