Context Type
Everything a pass may reach for, created once per run by `Bootstrap.start`. Passes never create programs; the session here is the only wire access they have.
Record fields
| Record Field |
Description
|
|
|
Full Usage:
EntryFile
Field type: string
|
Absolute path of the declaration entry point the program was created over.
|
Full Usage:
PackageDir
Field type: string
|
Absolute path of the package being generated from.
|
Full Usage:
PackageName
Field type: string
|
The `name` field of the package manifest, or the directory name without one.
|
|
The bound snapshot and project over the batching mailbox. Pure passes never touch it, which is what lets their tests fabricate a `Context` without a live compiler.
|