Haxe/haxe API documentation
To get started with the Haxe haxe target:
- Read through the Haxe Manual
- Find and install popular Haxe/haxe libraries
- Learn by example with the Haxe Code Cookbook
package haxe
.. | |
---|---|
crypto | |
ds | |
extern | |
format | |
io | |
macro | |
remoting | |
rtti | |
unit | |
web | |
xml | |
zip | |
CallStack | Get information about the call stack. |
Constructible | This type unifies with any instance of classes that have a constructor which |
DynamicAccess | DynamicAccess is an abstract type for working with anonymous structures that are intended to hold collections of objects by the string key. |
EntryPoint | If haxe.MainLoop is kept from DCE, then we will insert an haxe.EntryPoint.run() call just at then end of main(). This class can be redefined by custom frameworks so they can handle their own main loop logic. |
EnumFlags | A typed interface for bit flags. This is not a real object, only a typed interface for an actual Int. Each flag can be tested/set with the corresponding enum instance. Up to 32 flags can be stored that way. |
EnumTools | This class provides advanced methods on enums. It is ideally used with
|
EnumValueTools | This class provides advanced methods on enum values. It is ideally used with
|
FlatEnum | This type unifies with an enum instance if all constructors of the enum require no arguments. |
Function | This type unifies with any function type. |
Http | This class can be used to handle Http requests consistently across platforms. There are two intended usages: |
IMap | |
Int32 | Int32 provides a 32-bit integer with consistent overflow behavior across all platforms. |
Int64 | A cross-platform signed 64-bit integer.
Int64 instances can be created from two 32-bit words using |
Int64Helper | Helper for parsing to |
Json | Cross-platform JSON API: it will automatically use the optimized native API if available.
Use |
Log | Log primarily provides the |
MainEvent | |
MainLoop | |
PosInfos | PosInfos is a magic type which can be used to generate position information into the output for debugging use. |
Resource | Resource can be used to access resources that were added through the -resource file@name command line parameter. |
Serializer | The Serializer class can be used to encode values and objects into a |
StackItem | Elements return by |
Template | Template provides a basic templating mechanism to replace values in a source String, and to have some basic logic. |
Timer | The Timer class allows you to create asynchronous timers on platforms that support events. |
Ucs2 | Cross platform UCS2 string API. |
Unserializer | The |
Utf8 | Since not all platforms guarantee that |