Skip to content

class Crystal::InstanceVar
inherits Crystal::ASTNode

An instance variable.

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

#name_size

View source

#to_macro_id : String

View source