A collection of utility functions for Haxe macros.
Static methods
staticgetDate():Date
Gets the current date and time (at compile time).
Returns:
A Date object containing the current date and time.
staticgetDefine(key:Dynamic, ?defaultValue:Dynamic):Dynamic
Gets the value of a Haxe compiler define.
Parameters:
key | The name of the define to get the value of. |
|---|---|
defaultValue | The value to return if the define is not set. |
Returns:
An expression containing the value of the define.