class BELParser::Parsers::AST::Uri

AST node representing a URI.

Public Class Methods

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

New Uri 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 418
def initialize(children = [], properties = {})
  super(Uri.ast_type, children, properties)
end

Public Instance Methods

string() click to toggle source

Get the uri's string.

# File lib/bel_parser/parsers/ast/node.rb, line 423
def string
  children[0]
end