Module: YTLJit::VM::Node::HaveChildlenMixin
- Included in:
- BranchCommonNode, ClassValueNode, ConstantAssignNode, ExceptionTopNode, GlobalVarAssignNode, GuardNode, InstanceVarAssignNode, JumpNode, LetNode, LocalAssignNode, LocalFrameInfoNode, LocalLabel, MultiplexNode, SendNode, SetResultNode, ThrowNode, 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.
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_childlen ⇒ Object
584 585 586 |
# File 'lib/ytljit/vm.rb', line 584 def traverse_childlen raise "You must define traverse_childlen #{self.class}" end |