28 lines
465 B
Markdown
28 lines
465 B
Markdown
|
|
# Reserved Words
|
||
|
|
|
||
|
|
This is a list of all reserved words in Solstice, seperated by new lines. These words may not be used as identifiers.
|
||
|
|
|
||
|
|
After `//`, notes may be provided which detail exceptions to the reserved word, however, the word should still be treated as reserved regardless.
|
||
|
|
|
||
|
|
```solstice
|
||
|
|
puts
|
||
|
|
if
|
||
|
|
while
|
||
|
|
def
|
||
|
|
lambda
|
||
|
|
return
|
||
|
|
use
|
||
|
|
struct
|
||
|
|
enum
|
||
|
|
constructor
|
||
|
|
destructor
|
||
|
|
duplicator
|
||
|
|
private
|
||
|
|
protected
|
||
|
|
ground // Only when targeting GroundVM
|
||
|
|
new
|
||
|
|
as
|
||
|
|
sizeof
|
||
|
|
pragma
|
||
|
|
```
|