Class: Rubasteme::AST::ElseClauseNode
- Inherits:
-
HoldingSequenceBaseNode
- Object
- Node
- BranchNode
- ListNode
- HoldingSequenceBaseNode
- Rubasteme::AST::ElseClauseNode
- Defined in:
- lib/rubasteme/ast/branch_node.rb
Instance Method Summary collapse
-
#initialize(_ = nil) ⇒ ElseClauseNode
constructor
A new instance of ElseClauseNode.
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) ⇒ ElseClauseNode
Returns a new instance of ElseClauseNode.
357 358 359 360 |
# File 'lib/rubasteme/ast/branch_node.rb', line 357 def initialize(_ = nil) # @nodes = [<sequence>] super(1, 0, _) end |