Module: YTLJit::VM::Node::HaveChildlenMixin

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



644
645
646
# File 'lib/ytljit/vm.rb', line 644

def body
  @body
end

Instance Method Details

#initialize(*args) ⇒ Object



639
640
641
642
# File 'lib/ytljit/vm.rb', line 639

def initialize(*args)
  super
  @body = DummyNode.new
end

#traverse_childlenObject



646
647
648
# File 'lib/ytljit/vm.rb', line 646

def traverse_childlen
  raise "You must define traverse_childlen #{self.class}"
end