class Rley::RGN::CompositeNode
Abstract class for a syntax node that is the parent of one or more subnodes.
Attributes
@return [Array<Syntax::MatchClosest>]
@return [Array<ASTNode>]
Public Class Methods
Source
# File lib/rley/rgn/composite_node.rb, line 17 def initialize(children) super() @subnodes = children @constraints = [] end
@param children [Array<ASTNode>] sequence of children nodes
Calls superclass method
Rley::RGN::ASTNode::new