Skip to content

KtNodeType

open class KtNodeType : IElementType

Inheritors

Constructors

KtNodeType

constructor(@NotNull @NonNls debugName: String, @NotNull psiFactory: (ASTNode) -> KtElement)

Types

KtLeftBoundNodeType

Companion properties

ARRAY_FACTORY

val ARRAY_FACTORY: ArrayFactory<IElementType>

EMPTY_ARRAY

val EMPTY_ARRAY: Array<IElementType>

FIRST_TOKEN_INDEX

TRUE

val TRUE: IElementType.Predicate

Companion functions

enumerate

open fun enumerate(p: @NotNull IElementType.Predicate): @NotNull Array<IElementType>

find

open fun find(idx: Short): @NotNull IElementType

getAllocatedTypesCount

isTombstone

open fun isTombstone(type: @NotNull IElementType): Boolean

mapNotNull

open fun <R> mapNotNull(p: @NotNull (in IElementType) -> out R): @NotNull List<@NotNull R>

push

open fun push(types: @NotNull Array<IElementType>): @NotNull Array<IElementType>

unregisterElementTypes

open fun unregisterElementTypes(loader: @NotNull ClassLoader, pluginDescriptor: @NotNull PluginDescriptor)

Functions

createPsi

open fun createPsi(node: ASTNode): KtElement

getDebugName

open fun getDebugName(): @NonNls @NotNull String

getIndex

fun getIndex(): Short

getLanguage

open fun getLanguage(): @NotNull Language

hashCode

open fun hashCode(): Int

isLeftBound

open fun isLeftBound(): Boolean

toString

open fun toString(): String