Keywords
Reserved words in the Quartz programming language.
Declaration Keywords
| Keyword | Description |
let | Declare immutable variable |
var | Declare mutable variable |
fn | Declare function |
class | Declare class |
extends | Class inheritance |
Control Flow Keywords
| Keyword | Description |
if | Conditional execution |
else | Alternative branch |
while | While loop |
for | For loop |
in | Iteration keyword |
break | Exit loop |
continue | Skip to next iteration |
return | Return from function |
Exception Keywords
| Keyword | Description |
try | Start try block |
catch | Handle exception |
finally | Always execute block |
throw | Throw exception |
Module Keywords
| Keyword | Description |
import | Import module |
as | Module alias |
Other Keywords
| Keyword | Description |
new | Create instance |
this | Current instance reference |
true | Boolean true |
false | Boolean false |
null | Null value |
Type Keywords
| Keyword | Description |
int | Integer type |
double | Floating-point type |
string | String type |
bool | Boolean type |
void | No return type |