- Curries a function call. Useful for passing functions.
See: callback and _
- Specifies an entry in a switch statement.
- 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
- Declares code that is called when an exception occurs.
- 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
- 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
- Declares an enum.
- Indicates that the class is already defined.
- A boolean value that evaluates to false.
- Expands to a haxe.PosInfos structure.
- Indicates that the class references a class from a different package is reference from the file.
- Part of the syntax of the "for" loop.
- 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.
- Used in a property definition to indicate that access is not available.
- Creates an object by calling a class' constructor.
- 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
- Indicates that a class' field is overriding its parent class.
- Packages can be used to group related classes.
- Indicates that access to field is only allowed from the class.
- Indicates that a field's access not restricted.
- Exit a function before the end or return a value from a function.
- Equivalent to multiple if...else if... tests on the same value.
- A boolean value that evaluates to true.
- A try block is code where exception handlers can be defined.
- Gives a name to an anonymous type.
- Prevent type checking for a block of code.
Looking for const? You may use inline static, which works pretty much the same as what you want.
- Allows an static functions to be called as if they were an object's methods.
See: using and callback
version #15204, modified 2012-07-28 05:14:30 by greg_dove