Skip to content

class Crystal::ClassVar
inherits Crystal::ASTNode

Class methods

.new(name)

View source

Methods

#==(other : self)

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

#clone_without_location

View source

#hash(hasher)

#interpret(method : String, args : Array(ASTNode), named_args : Hash(String, ASTNode)?, block : Crystal::Block?, interpreter : Crystal::MacroInterpreter, name_loc : Location?)

View source

#name=(name : String)

View source

#to_macro_id : String

View source

#var : MetaTypeVar

The "real" variable associated with this node, belonging to a type.

#var=(var : MetaTypeVar)

The "real" variable associated with this node, belonging to a type.

View source

#var? : MetaTypeVar?

The "real" variable associated with this node, belonging to a type.