ThisExpression

data class ThisExpression(val label: Node.Expression.NameExpression?, val supplement: NodeSupplement = NodeSupplement()) : Node.Expression, Node.Expression.WithLabel

AST node that represents a "this" expression. The node corresponds to KtThisExpression or KtConstructorDelegationReferenceExpression whose text is "this".

Constructors

Link copied to clipboard
constructor(label: Node.Expression.NameExpression?, supplement: NodeSupplement = NodeSupplement())

Properties

Link copied to clipboard

label of this expression if exists, otherwise null.

Link copied to clipboard
open override val supplement: NodeSupplement

Supplemental data for the node.