Class: Rubasteme::AST::ElseRecipientClauseNode

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

Instance Method Summary collapse

Methods inherited from RecipientClauseBaseNode

#recipient, #recipient=

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) ⇒ ElseRecipientClauseNode

Returns a new instance of ElseRecipientClauseNode.



425
426
427
428
429
# File 'lib/rubasteme/ast/branch_node.rb', line 425

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