class

Syntax::Path

Inherits Syntax::ASTNode < Reference < Object

A qualified identifier.

const [ '::' const ]*

Constructors

new(names : Array, global : Bool = false)
Source
new(name : String, global = false)
Source

Class methods

global(names)
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

clone_without_location
Source
global=(global : Bool)
Source
global?
Source
hash(hasher)

See Object#hash(hasher)

name_size
Source
names
Source
names=(names : Array(String))
Source
single?(name)

Returns true if this path has a single component with the given name

Source
visibility
Source
visibility=(visibility : Syntax::Visibility)
Source