Skip to content

KtModifierKeywordToken

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

keyword

open fun keyword(value: String, tokenId: Int): KtKeywordToken
open fun keyword(
    debugName: String, 
    value: String, 
    tokenId: Int
): KtKeywordToken

keywordModifier

open fun keywordModifier(value: String, tokenId: Int): KtModifierKeywordToken

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>

softKeyword

open fun softKeyword(value: String, tokenId: Int): KtKeywordToken

softKeywordModifier

unregisterElementTypes

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

Properties

tokenId

val tokenId: Int

Functions

getDebugName

open fun getDebugName(): @NonNls @NotNull String

getIndex

fun getIndex(): Short

getLanguage

open fun getLanguage(): @NotNull Language

getValue

@NotNull
@NonNls
open fun getValue(): String

hashCode

open fun hashCode(): Int

isLeftBound

open fun isLeftBound(): Boolean

isSoft

open fun isSoft(): Boolean

toString

open fun toString(): String