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