Keywords
break
Exit a loop immediately.
See: Break and Continue
callback
Curries a function call. Useful for passing functions.
See: callback and _
cast
Attempt to get a value as a different type. Can also be used to indicate that a class' field can be dynamically overridden.
See: Type Casting, Unsafe Cast, Classes
catch
Declares code that is called when an exception occurs.
See: Exceptions
class
Declares a class.
See: Object Oriented Programming
continue
Skip to the next loop iteration.
See: Break and Continue
default
If used in a switch statement, default is used to indicate a case that will be executed if none of the other cases were executed. If used in a property definition, default indicates that the classic field access are available.
See: Switch, Properties
dynamic
Used in a property definition to indicate that access will be set at runtime. Also used as a flag in a class variable or method declaration to indicate that the field may be dynamically rebound.
See: Properties, Classes
else
Declares a block to be executed if the condition is not true.if( expr-cond ) expr-1 [else expr-2]
See: If
extends
Declares a class to be a subclass of another class.
See: Class Inheritance
extern
Indicates that the class is already defined.
function
Declares a local function or method of a class.
See: Local Function, Classes
here
Deprecated In 2.07
Expands to a haxe.PosInfos structure.
See: here
if
Declares a block to be executed if a condition is true.if( expr-cond ) expr-1 [else expr-2]
See: If
implements
Declares the interfaces implemented by a class.
See: Class Inheritance
import
Indicates that the class references a class from a different package is reference from the file.
See: Imports
inline
Indicates that the compiler can speed up the code by replacing references to a function or static variable with the method body or variable's value, respectively.
See: Inline
interface
Declares an interface.
See: Object Oriented Programming
never
Used in a property definition to indicate that access is not available.
See: Properties
new
Creates an object by calling a class' constructor.
See: Constructor
null
If used in a comparison or assignment, null is variable without a value. If used in a property definition, null indicates that access is only allowed from within the class.
See: Constants, Properties
static
Declares a class member.
See: Object Oriented Programming
super
Used by a class to call a method from its superclass.
See: Class Inheritance
this
Used by a class to refer to the current object.
See: Object Oriented Programming
throw
Throws an exception.
See: Exceptions
trace
A global function to ease debugging. Outputs the given variable as a String.trace("Will be shown when compiled for debugging");
See: here
try
A try block is code where exception handlers can be defined.
See: Exceptions
using
Allows an static functions to be called as if they were an object's methods.
See: using and callback
var
Declares a local or class variable.
See: Local Variables, Classes
version #15204, modified 2012-07-28 05:14:30 by greg_dove