Module: YTLJit::VM::Node::HaveChildlenMixin
- Included in:
- BranchCommonNode, ClassValueNode, ConstantAssignNode, ExceptionTopNode, GlobalVarAssignNode, GuardNode, InstanceVarAssignNode, JumpNode, LetNode, LocalAssignNode, LocalFrameInfoNode, LocalLabel, MultiplexHolderNode, 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.
644 645 646 |
# File 'lib/ytljit/vm.rb', line 644 def body @body end |
Instance Method Details
#initialize(*args) ⇒ Object
639 640 641 642 |
# File 'lib/ytljit/vm.rb', line 639 def initialize(*args) super @body = DummyNode.new end |
#traverse_childlen ⇒ Object
646 647 648 |
# File 'lib/ytljit/vm.rb', line 646 def traverse_childlen raise "You must define traverse_childlen #{self.class}" end |