Class: Rubasteme::AST::BeginNode
- Inherits:
-
HoldingSequenceBaseNode
- Object
- Node
- BranchNode
- ListNode
- HoldingSequenceBaseNode
- Rubasteme::AST::BeginNode
- Defined in:
- lib/rubasteme/ast/branch_node.rb
Instance Method Summary collapse
-
#initialize(_ = nil) ⇒ BeginNode
constructor
A new instance of BeginNode.
Methods inherited from HoldingSequenceBaseNode
Methods inherited from ListNode
#elements, #empty?, #first, #rest
Methods inherited from BranchNode
#<<, #[], #[]=, #each, #size, #to_a
Methods inherited from Node
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 |