StringLiteralExpression
data class StringLiteralExpression( val entries: List<Node.Expression.StringLiteralExpression.StringEntry>, val raw: Boolean, val supplement: NodeSupplement = NodeSupplement()) : Node.Expression
AST node that represents a string literal expression. The node corresponds to KtStringTemplateExpression.
Constructors
Link copied to clipboard
constructor(entries: List<Node.Expression.StringLiteralExpression.StringEntry>, raw: Boolean, supplement: NodeSupplement = NodeSupplement())
Types
Link copied to clipboard
data class EscapeStringEntry( val text: String, val supplement: NodeSupplement = NodeSupplement()) : Node.Expression.StringLiteralExpression.StringEntry, Node.SimpleTextNode
AST node that represents an escape string entry that starts with backslash. The node corresponds to KtEscapeStringTemplateEntry.
Link copied to clipboard
data class LiteralStringEntry( val text: String, val supplement: NodeSupplement = NodeSupplement()) : Node.Expression.StringLiteralExpression.StringEntry, Node.SimpleTextNode
AST node that represents a literal string entry, i.e. a normal string entry. The node corresponds to KtLiteralStringTemplateEntry.
Link copied to clipboard
Common interface for string entries. The node corresponds to KtStringTemplateEntry.
Link copied to clipboard
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.