EnumEntry

data class EnumEntry(val enumClass: Symbol.Classifier, val entryName: String, val entryOrdinal: Int) : Symbol, Symbol.NamedSymbol(source)

An enum entry.

Constructors

Link copied to clipboard
constructor(enumClass: Symbol.Classifier, entryName: String, entryOrdinal: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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.