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