class Crystal::Macros::StringInterpolation
Overview
An interpolated string like "Hello, #{name}!"
.
Defined in:
compiler/crystal/macros.crInstance Method Summary
-
#expressions : ArrayLiteral(ASTNode)
Returns a list of expressions that comprise the interpolated string.
Instance Method Detail
Returns a list of expressions that comprise the interpolated string.
These alternate between StringLiteral
for the plaintext parts and
ASTNode
s of any type for the interpolated expressions.