To work across multiple files, Haxe includes the functionality to import classes from other files.
For loading all classes within a file, Haxe supports wildcard importing. Use of the asterisk after the name of a name and followed by a period imports all of the classes in that file or module. This process only imports one level deep.
Previous to Haxe 3.2.0, the use of the in could be used to import a class through naming its contents another variable. After Haxe 3.20, the keyword as can also be used for the same purpose.
Haxe supports using namespaces, shared naming in modules, through the keyword package.