Skip to content

class Crystal::MacroId
inherits Crystal::ASTNode

Fictitious node to represent an id inside a macro

Class methods

.new(value)

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

#interpret_compare(other : MacroId | StringLiteral)

View source

#to_macro_id : String

View source

#value : String

View source

#value=(value : String)

View source