Syntax::Generic
Inherits Syntax::ASTNode < Reference < Object
Constructors
new(name : Syntax::ASTNode, type_vars : Array, named_args : Nil | Array(Syntax::NamedArgument) = nil, suffix : Syntax::Generic::Suffix = Suffix::None)
Sourcenew(name, type_var : ASTNode)
SourceInstance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
accept_children(visitor)
Sourceclone_without_location
Sourcehash(hasher)
See Object#hash(hasher)
name
Usually a Path, but can also be a TypeNode in the case of a custom array/hash-like literal.
name=(name : ASTNode)
Usually a Path, but can also be a TypeNode in the case of a custom array/hash-like literal.
named_args
Sourcesuffix
Sourcesuffix=(suffix : Suffix)
Sourcetype_vars
Source