class Crystal::Generic
inherits Crystal::ASTNode
¶
Class methods¶
Methods¶
#==(other : self)
¶
(other : self)
Returns true
if this reference is the same as other. Invokes same?
.
#hash(hasher)
¶
(hasher)
#instance_type : GenericType
¶
: GenericType
#instance_type? : GenericType?
¶
: GenericType?
#interpret(method : String, args : Array(ASTNode), named_args : Hash(String, ASTNode)?, block : Crystal::Block?, interpreter : Crystal::MacroInterpreter, name_loc : Location?)
¶
(method : String, args : Array(ASTNode), named_args : Hash(String, ASTNode)?, block : Crystal::Block?, interpreter : Crystal::MacroInterpreter, name_loc : Location?)
#name : ASTNode
¶
: ASTNode
Usually a Path, but can also be a TypeNode in the case of a custom array/hash-like literal.
#name=(name : ASTNode)
¶
(name : ASTNode)
Usually a Path, but can also be a TypeNode in the case of a custom array/hash-like literal.