Class: Rubasteme::AST::BeginNode

Inherits:
HoldingSequenceBaseNode show all
Defined in:
lib/rubasteme/ast/branch_node.rb

Instance Method Summary collapse

Methods inherited from HoldingSequenceBaseNode

#sequence, #sequence=

Methods inherited from ListNode

#elements, #empty?, #first, #rest

Methods inherited from BranchNode

#<<, #[], #[]=, #each, #size, #to_a

Methods inherited from Node

#to_a, #to_s, #type

Constructor Details

#initialize(_ = nil) ⇒ BeginNode

Returns a new instance of BeginNode.



576
577
578
579
# File 'lib/rubasteme/ast/branch_node.rb', line 576

def initialize(_ = nil)
  # @nodes = [<sequnece>]
  super(1, 0, _)
end