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
Get informations about the call stack.
DynamicAccess is an abstract type for working with anonymous structures that are intended to hold collections of objects by the string key.
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.
This type unifies with an enum instance if all constructors of the enum require no arguments.
This type unifies with any function type.
This class can be used to handle Http requests consistently across platforms. There are two intended usages:
Int32 provides a 32-bit integer with consistent overflow behavior across all platforms.
A cross-platform signed 64-bit integer.
Int64 instances can be created from two 32-bit words using
Crossplatform JSON API : it will automatically use the optimized native API if available. Use -D haxeJSON to force usage of the Haxe implementation even if a native API is found : this will provide extra encoding features such as enums (replaced by their index) and StringMaps.
Log primarily provides the trace() method, which is invoked upon a call to trace() in haxe code.
PosInfos is a magic type which can be used to generate position information into the output for debugging use.
Resource can be used to access resources that were added through the -resource file@name command line parameter.
The Serializer class can be used to encode values and objects into a String, from which the Unserializer class can recreate the original representation.
Elements return by
Template provides a basic templating mechanism to replace values in a source String, and to have some basic logic.
The Timer class allows you to create asynchronous timers on platforms that support events.
Cross platform UCS2 string API.
The Unserializer class is the complement to the Serializer class. It parses a serialization String and creates objects from the contained data.
Since all platforms does not guarantee that String always uses UTF-8 encoding, you can use this crossplatform API to perform operations on such strings.