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