Keywords and Operators

Hard Keywords

The following tokens are always interpreted as keywords and cannot be used as identifiers:

Soft Keywords

The following tokens act as keywords in the context when they are applicable and can be used as identifiers in other contexts:

Modifier Keywords

The following tokens act as keywords in modifier lists of declarations and can be used as identifiers in other contexts:

Special Identifiers

The following identifiers are defined by the compiler in specific contexts and can be used as regular identifiers in other contexts:

Operators and Special Symbols

Kotlin supports the following operators and special symbols: