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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



582
583
584
# File 'lib/ytljit/vm.rb', line 582

def body
  @body
end

Instance Method Details

#initialize(*args) ⇒ Object



577
578
579
580
# File 'lib/ytljit/vm.rb', line 577

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

#traverse_childlenObject



584
585
586
# File 'lib/ytljit/vm.rb', line 584

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