Skip to content

class Crystal::MacroVar
inherits Crystal::ASTNode

A uniquely named variable inside a macro (like %var)

Class methods

.new(name : String, exps = nil)

View source

Methods

#==(other : self)

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

#accept_children(visitor)

View source

#clone_without_location

View source

#exps=(exps : Array(ASTNode)?)

View source

#hash(hasher)

#name=(name : String)

View source