Represents the internal structure generated with options assigned based on the target platform.

Warning: PlatformConfig and the typedefs unique to its fields correspond to compiler-internal data structures and might change in minor Haxe releases in order to adapt to internal changes.

Fields

finalread onlyusesUtf16:Bool

Uses utf16 encoding with ucs2 api

finalread onlythisBeforeSuper:Bool

Target supports accessing this before calling super(...)

finalread onlysys:Bool

Has access to the "sys" package

finalread onlysupportsUnicode:Bool

Target supports Unicode

finalread onlysupportsThreads:Bool

Target supports threads

finalread onlysupportsRestArgs:Bool

Target supports rest arguments

finalread onlysupportsFunctionEquality:Bool

Supports function == function

finalread onlysupportsAtomics:Bool

Target supports atomic operations via haxe.Atomic

finalread onlystaticTypeSystem:Bool

Has a static type system, with not-nullable basic types (Int/Float/Bool)

finalread onlyscoping:VarScopingConfig

The scoping of local variables

finalread onlyreservedTypePaths:Array<TypePath>

Type paths that are reserved on the platform

finalread onlypadNulls:Bool

When calling a method with optional args, do we replace the missing args with "null" constants

finalread onlyoverloadFunctions:Bool

Does the platform natively support overloaded functions

finalread onlyexceptions:ExceptionsConfig

Exceptions handling config

finalread onlycapturePolicy:CapturePolicy

Captured variables handling (see before)

finalread onlycanSkipNonNullableArgument:Bool

Can the platform use default values for non-nullable arguments

finalread onlyaddFinalReturn:Bool

Add a final return to methods not having one already - prevent some compiler warnings