class BELParser::Parsers::AST::LIST_NODE

AST node representing a list.

Private Class Methods

new(children = [], properties = {}) click to toggle source

New List AST node.

@see Node#initialize Node class for basic properties

Calls superclass method BELParser::Parsers::AST::Node::new
# File lib/bel_parser/parsers/ast/node.rb, line 498
def initialize(children = [], properties = {})
  super(List.ast_type, children, properties)
end

Private Instance Methods

list_items() click to toggle source
# File lib/bel_parser/parsers/ast/node.rb, line 502
def list_items
  children
end