2026-05-09 21:06:07 +10:00
|
|
|
# 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
|
2026-05-10 19:11:27 +10:00
|
|
|
|
|
|
|
|
fun
|
|
|
|
|
template
|
|
|
|
|
object
|
2026-05-09 21:06:07 +10:00
|
|
|
```
|