Public Interface
The fields of a class that implement the haxe.Public interface are all public by default if the public/
private modifier is omitted. This is the opposite of the standard behavior where an access modifier
is private by default.
PosInfo
Every time a function that has an optional last argument of type PosInfo is used without passing a
value to that argument, this is automatically filled with an object that contains the current filename, the
line number, and the class and method in use. The haxe . PosInfo typedef is fundamental for
debugging purposes and it is used in the trace() function and other code related functions as the unit
testing ones.
Neko
Neko has a collection of operations that are optimized by the compiler known as builtins . Each builtin in
the Neko language is prefixed with the dollar symbol ( $ ). An example of builtin is $ scopy() that takes a
string as an argument and returns a copy of the same as the result. For the full list of the available
builtins , look at the dedicated page on the Neko website at http://nekovm.
Pages:
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886