Skip to content

class Crystal::StringInterpolation
inherits Crystal::ASTNode

Included modules

Crystal::ExpandableNode Crystal::Lexer::HeredocItem

Class methods

.new(expressions : Array(ASTNode), heredoc_indent = 0)

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

#expressions : Array(ASTNode)

View source

#expressions=(expressions : Array(ASTNode))

View source

#hash(hasher)

#heredoc_indent : Int32

Removed indentation size. This property is only available when this is created from heredoc.

View source

#heredoc_indent=(heredoc_indent : Int32)

Removed indentation size. This property is only available when this is created from heredoc.

View source

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

View source