class

Syntax::Alias

Inherits Syntax::ASTNode < Reference < Object

Constructors

new(name : Path, value : ASTNode)
Source

Instance methods

==(other : self)

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

accept_children(visitor)
Source
clone_without_location
Source
doc

Returns the doc comment attached to this node. Not every node supports having doc comments, so by default this returns nil.

Source
doc=(doc : String | Nil)
Source
hash(hasher)

See Object#hash(hasher)

name
Source
name=(name : Path)
Source
value
Source
value=(value : ASTNode)
Source
visibility
Source
visibility=(visibility : Syntax::Visibility)
Source