API reference
python:arx:arx.main
module main
arx.main
Source: packages/arx/src/arx/main.py:1
Arx main module.
Classes
-
ArxMain — The main class for calling Arx compiler.
-
FileImportResolver — Resolve import specifiers to Arx source files on disk.
Functions
-
_find_project_source_root — Find the configured project source root for a path.
-
_has_imported_name — Return whether one module already imports a binding by name.
-
_has_top_level_binding_name — Return whether one module already binds a top-level name.
-
_is_builtin_specifier — Return whether one import specifier targets bundled builtins.
-
_is_stdlib_specifier — Return whether one import specifier targets the bundled stdlib.
-
_module_name_from_source_root — Derive one dotted module name relative to a source root.
-
get_bundled_stdlib_root — Return the bundled stdlib root shipped inside the arx package.
-
get_module_name_from_file_path — Return the module name from the source file name.
-
inject_ambient_builtin_imports — Inject compiler-provided builtin bindings into one module AST.