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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



411
412
413
# File 'lib/ytljit/vm.rb', line 411

def body
  @body
end

Instance Method Details

#initialize(*args) ⇒ Object



406
407
408
409
# File 'lib/ytljit/vm.rb', line 406

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

#traverse_childlenObject



413
414
415
# File 'lib/ytljit/vm.rb', line 413

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