Keywords
There are a few alphanumeric identifiers which cannot be used as such because they are reserved keywords. These keywords always have some special semantics associated to them and are treated specially by the compiler.
- header
- import
- include
- operator
- package
- type
- using
- abstract
- const
- extension
- final
- infix
- internal
- override
- postfix
- prefix
- private
- protected
- public
- static
- class
- enum
- extends
- functional
- implements
- interface
- object
- throws
- as
- case
- false
- is
- match
- new
- nil
- null
- super
- this
- true
- break
- catch
- continue
- do
- else
- finally
- for
- goto
- return
- synchronized
- throw
- try
- while
The following keywords are currently reserved but not in use.
- inline
- implicit
- lazy
- macro
- sealed
- var
- where
Last modified 4yr ago