TypeParameter

data class TypeParameter(val owner: Symbol.TypeParamHost, val index: Int, val name: String) : Symbol, Symbol.NamedSymbol(source)

A type parameter.

Constructors

Link copied to clipboard
constructor(owner: Symbol.TypeParamHost, index: Int, name: String)

Properties

Link copied to clipboard
open override val fullName: NameSegments

The fully qualified name of the symbol.

Link copied to clipboard
val index: Int

The index of the type parameter in owner's type parameters

Link copied to clipboard
open override val name: String

The name of the type parameter

Link copied to clipboard
open override val nameSegments: List<String>

The segments of the fully qualified name of this symbol.

Link copied to clipboard

The symbol that owns the type parameter

Functions

Link copied to clipboard
open override fun asString(): String

The fully qualified name as a string.

Link copied to clipboard
open operator fun plus(segment: String): NameSegments

Resolves segment after this.

open operator override fun plus(other: NameSegments): NameSegments

Resolves other after this.

Link copied to clipboard
open fun resolve(vararg segments: String): NameSegments

Resolves segments after this.