class Crystal::Macros::StringInterpolation
inherits Crystal::Macros::ASTNode
¶
An interpolated string like "Hello, #{name}!"
.
Methods¶
#expressions : ArrayLiteral(ASTNode)
¶
: ArrayLiteral(ASTNode)
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.