Skip to main content

Module compiler

Module compiler 

Source

Modules§

compiler_data
expr
imports
Where an import resolves from.
type_system

Structs§

CompileOutput
The complete result of compiling a candela program.
FileNamespaces
The scope of every file in the program, keyed by its index in sources.
FileNamespacesCheckpoint
A checkpoint of the per-file scopes, taken by FileNamespaces::checkpoint and undone by FileNamespaces::rollback_to.
Namespace

Enums§

SymbolKind

Constants§

PRELUDE_MODULES
The standard library modules every program has without an import.

Traits§

UnwrapId

Functions§

check_only_scope
Runs f with every compile inside it checking only.
compile
Compiles contents and everything it imports into one program.
compile_expr
compile_profile
compile in the profile optimize names.