Module: YTLJit::VM::Node::HaveChildlenMixin
- Included in:
- BranchCommonNode, ClassValueNode, ConstantAssignNode, GuardNode, InstanceVarAssignNode, JumpNode, LetNode, LocalAssignNode, LocalFrameInfoNode, LocalLabel, MultiplexNode, SendNode, SetResultNode, TopNode
- Defined in:
- lib/ytljit/vm.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
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_childlen ⇒ Object
441 442 443 |
# File 'lib/ytljit/vm.rb', line 441 def traverse_childlen raise "You must define traverse_childlen #{self.class}" end |