Skip to content

Keywords and Operators

matt edited this page Apr 1, 2019 · 9 revisions

Keywords

package import foreign
when if else for defer return switch case in notin do break continue fallthrough
proc struct union enum bit_field bit_set map dynamic
cast auto_cast transmute
using
inline no_inline
context
size_of align_of offset_of type_of

distinct opaque

Reserved keywords

macro const

Operators

= ! ^ ? :
+ - * / % %% & | ~ &~ << >>
&& ||
+= -= *= /= %= %%= &= |= ~= &~= <<= >>=
&&= ||=
-> <- ---
== != < > <= >=
( ) [ ] { }
: ..
# @ $
; . ,

Reserved Operator

=>

You can’t perform that action at this time.