Keywords
The following keywords are reserved by the koj language:
- KW_AS:
as - KW_BREAK:
break - KW_CATCH:
catch - KW_CONST:
const - KW_CONTINUE:
continue - KW_DO:
do - KW_EACH:
each - KW_ELSE:
else - KW_ENUM:
enum - KW_FALSE:
false - KW_FOR:
for - KW_FUNC:
func - KW_IF:
if - KW_IS:
is - KW_LET:
let - KW_MATCH:
match - KW_MUT:
mut - KW_RETURN:
return - KW_STRUCT:
struct - KW_THROW:
throw - KW_TRUE:
true - KW_TRY:
try - KW_TYPE:
type - KW_UNION:
union - KW_WHILE:
while
This list may change as the language evolves.
There keywords are reserved and cannot be used as identifiers.