Syntax::Annotation
Inherits Syntax::ASTNode < Reference < Object
Constructors
new(path : Syntax::Path, args : Array(Syntax::ASTNode) = [] of ASTNode, named_args : Nil | Array(Syntax::NamedArgument) = nil)
SourceInstance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
accept_children(visitor)
Sourceargs
Sourceclone_without_location
Sourcedoc
Returns the doc comment attached to this node. Not every node
supports having doc comments, so by default this returns nil.
hash(hasher)
See Object#hash(hasher)
named_args
Sourcepath
Source