4.4.6 Extern

since Haxe 4.0.0

The extern keyword causes the compiler to not generate the field in the output. This can be used in combination with the inline keyword to force a field to be inlined (or cause an error if this is not possible). Forcing inline may be desirable in abstracts or extern classes.

Trivia: :extern metadata

Prior to Haxe 4, this access modifier could only be applied to a field using the :extern metadata.