TypeArgument
data class TypeArgument(val modifiers: List<Node.Modifier>, val type: Node.Type, val supplement: NodeSupplement = NodeSupplement()) : Node, Node.WithModifiers
AST node that represents an actual type argument. For example, Int
in listOf<Int>()
is a type argument. The node corresponds to KtTypeProjection.
Constructors
Link copied to clipboard
constructor(modifiers: List<Node.Modifier>, type: Node.Type, supplement: NodeSupplement = NodeSupplement())
Properties
Link copied to clipboard
list of annotation sets.
Link copied to clipboard
list of modifiers.
Link copied to clipboard
Supplemental data for the node.
Link copied to clipboard
projection type. When the type argument is a star projection, this is Type.SimpleType that has a single Type.SimpleType.SimpleTypePiece whose name is "*".