Class: Rubasteme::AST::AndNode

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

Instance Method Summary collapse

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

Returns a new instance of AndNode.



433
434
435
436
# File 'lib/rubasteme/ast/branch_node.rb', line 433

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