Keywords
- function
declares a function or method function of a class - class
See: Object Oriented Programming
declares a class - static
delcares a class member - var
declares a variable - if
if( expr-cond ) expr-1 [else expr-2]
- else
if( expr-cond ) expr-1 [else expr-2]
- while
while( expr-cond ) expr-loop;
- do
do expr-loop while( expr-cond );
- for
for( variable in iterable ) expr-loop;
- break
exit early a for or while loop - return
exit from a function before the end or to return a value from a function - continue
go to the next iteration of a for or while loop : - extends
See: Class Inheritance
declares a class to be a subclass of another class - implements
See: Class Inheritance
declares any interfaces implemented by a class - import
import external classes and packages - switch
perform multiple if...else if... else if tests on the same value- case
execute a statement if the value matches the switch value. All cases are separate expressions so after one case expression is executed the switch block is automatically exited. - default
default condition for a switch statement, will be executed if no cases were executed.
- case
- private
See: Classes - public
See: Classes - try
- catch
- new
See: Constructor - this
- super
- throw
- extern
- enum
- in
- interface
See: Object Oriented Programming - untyped
- cast
- override
- typedef
- dynamic
- package
- callback
See: callback
Curries a function call. Useful for passing functions. - inline
See: Inline - here
- never
- using
- null
A variable without a value. - trace
A global function of type T->Void that will output as String the given variable.
Used for debugging, and can be removed while compiling.trace("Will be shown when compiled for debugging");
version #8145, modified 2010-02-25 13:45:48 by adnez