- 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
- 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.
在找 const吗? 你可以使用 inline static, 它可以完成你需要的操作.
- Allows an static functions to be called as if they were an object's methods.
See: using and callback
version #12616, modified 2012-03-02 11:47:36 by auciferjay