Skip to content

class Crystal::StringLiteral
inherits Crystal::ASTNode

Class methods

.new(value : String)

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 : StringLiteral | MacroId)

View source

#to_macro_id : String

View source

#value : String

View source

#value=(value : String)

View source