TemplateStringEntry
data class TemplateStringEntry(val expression: Node.Expression, val short: Boolean, val supplement: NodeSupplement = NodeSupplement()) : Node.Expression.StringLiteralExpression.StringEntry
AST node that represents a template string entry with expression. The node corresponds to KtStringTemplateEntryWithExpression.
Constructors
Link copied to clipboard
constructor(expression: Node.Expression, short: Boolean, supplement: NodeSupplement = NodeSupplement())
Properties
Link copied to clipboard
template expression of this entry.
Link copied to clipboard
true
if this is short template string entry, e.g. $x
, false
if this is long template string entry, e.g. ${x}
. When this is true
, expression must be NameExpression.
Link copied to clipboard
Supplemental data for the node.