Class: Duby::AST::JRubyAst::AndNode
- Inherits:
-
Object
- Object
- Duby::AST::JRubyAst::AndNode
- Defined in:
- lib/duby/transform.rb
Instance Method Summary collapse
Instance Method Details
#transform(transformer, parent) ⇒ Object
720 721 722 723 724 725 726 727 728 |
# File 'lib/duby/transform.rb', line 720 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 |