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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



439
440
441
# File 'lib/ytljit/vm.rb', line 439

def body
  @body
end

Instance Method Details

#initialize(*args) ⇒ Object



434
435
436
437
# File 'lib/ytljit/vm.rb', line 434

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

#traverse_childlenObject



441
442
443
# File 'lib/ytljit/vm.rb', line 441

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