These are the keywords reserved in Shang language.
as, automaton,
break, builtin,
catch, common, conditional, continue,
do,
else, elseif, end,
function,
global,
if, in,
on,
parent, private, public,
readonly, return,
self, stop,
this,
to, try,
until,
while,
yield
- function, class, automaton, conditional are
used to define functions, classes, etc.
- parent is used to reference a class member in a member
attribute functions.
- this appearing in a function definition refers to the function itself.
- public, private, common, auto, readonly
are access control types of class member attributes and function parameters.
- stop and yield are used in an automaton.
- try, catch, throw are used in exception handling.
oz
2009-12-22