NamedClassifierMember

data class NamedClassifierMember(val classifier: Symbol.Classifier, val name: String) : Symbol.NamedMember(source)

A named Member of a Classifier.

Constructors

Link copied to clipboard
constructor(classifier: Symbol.Classifier, name: String)

Properties

Link copied to clipboard

The classifier that contains the member

Link copied to clipboard
open override val fullName: NameSegments

The fully qualified name of the symbol.

Link copied to clipboard
open override val name: String

The simple name of this symbol. Usually the last segment in its fully qualified name.

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

The segments of the fully qualified name of this symbol.

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.