DelegationClassParent

data class DelegationClassParent(val type: Node.Type, val expression: Node.Expression, val supplement: NodeSupplement = NodeSupplement()) : Node.Declaration.ClassOrObject.ClassParent

ClassParent node that represents explicit delegation. The node corresponds to KtDelegatedSuperTypeEntry.

Constructors

Link copied to clipboard
constructor(type: Node.Type, expression: Node.Expression, supplement: NodeSupplement = NodeSupplement())

Properties

Link copied to clipboard
open override val arguments: List<Node.ValueArgument>

always empty list.

Link copied to clipboard
open override val expression: Node.Expression

expression of the delegation.

Link copied to clipboard
open override val lPar: Node.Keyword.LPar? = null

left parenthesis of the value arguments if exists, otherwise null.

Link copied to clipboard
open override val rPar: Node.Keyword.RPar? = null

right parenthesis of the value arguments if exists, otherwise null.

Link copied to clipboard
open override val supplement: NodeSupplement

Supplemental data for the node.

Link copied to clipboard
open override val type: Node.Type

type of the interface delegated to.