class BELParser::Parsers::AST::Unset
AST
node representing an unset.
Private Class Methods
new(children = [], properties = {})
click to toggle source
@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 908 def initialize(children = [], properties = {}) super(Unset.ast_type, children, properties) end
Private Instance Methods
name()
click to toggle source
Get what is being unset.
@return [String, nil] what is being unset
# File lib/bel_parser/parsers/ast/node.rb, line 915 def name return nil unless children? return nil unless first_child.children? first_child.first_child end