Module nu_protocol::engine
source · Expand description
Representation of the engine state and many of the details that implement the scoping
Structs§
- Stores the argument context for calls in IR evaluation.
- Unit of cached source code
- This is a HACK to help
Commandsupport both the old AST evaluator and the new IR evaluator at the same time. It should be removed once we are satisfied with the new evaluator. - The core global engine state. This includes all global definitions as well as any global state that will persist for the whole session.
- Describes an error handler stored during IR evaluation.
- Keeps track of error handlers pushed during evaluation of an IR block.
- Files being evaluated, arranged as a stack.
- A runtime value stack used during evaluation
- A delta (or change set) between the current global state and a possible future global state. Deltas can be applied to the global state to update it to contain both previous state and the state held within the delta.
- A temporary extension to the global state. This handles bridging between the global state and the additional declarations and scope changes that are not yet part of the global scope.
- Tells whether a decl is visible or not
Enums§
- Represents a fully evaluated argument to a call.
Constants§
Statics§
Traits§
Type Aliases§
- Environment variables per overlay