Those features are called magic . They are structures or keywords that break
the standard boundaries of the haXe syntax to give some advantages to the developer.
Not all the magic features are described in this section, because they are also subject to changes, being
low - level constructs; another reason is that many of these magic features are already wrapped in a more
convenient and object - oriented definition. Here is a description of the constructs you will most likely
need to use and the ones that are unlikely to be changed in future versions. You can find more
information on haXe magic on the official website at www.haxe.org/ .
Platform Independent
Some of the haXe magic is platform independent and is described next; other magic exists for classes/
interfaces and inheritance hierarchies, but it is very unlikely that you need to deal with it directly.
Boot Classes
Every time a project is compiled, an additional Boot class is included therein; the class contains code that
is executed in the bootstrap phase and that is used to unify the platform - specific differences.
Pages:
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882