class BELParser::Parsers::AST::NestedStatement
AST
node representing a nested statement.
Public Class Methods
new(children = [], properties = {})
click to toggle source
New NestedStatement
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 730 def initialize(children = [], properties = {}) super(NestedStatement.ast_type, children, properties) end
Public Instance Methods
statement()
click to toggle source
Get the statement.
# File lib/bel_parser/parsers/ast/node.rb, line 735 def statement children[0] end