v2/context library

Classes

CompileContext
Execution-local static state for the current compilation.

Functions

runWithContext<T>(CompileContext instance, Future<T> run()) Future<T>
Executes run with CompileContext.current set to instance.

Exceptions / Errors

BuildError
Base error type for all known fatal errors encountered while compiling.