Module nu_engine::command_prelude
source · Re-exports§
pub use crate::CallExt;
Modules§
Macros§
Structs§
- A potentially infinite, interruptible stream of bytes.
- The core global engine state. This includes all global definitions as well as any global state that will persist for the whole session.
- Spans are a global offset across all seen files, which are cached in the engine’s state. The start and end offset together make the inclusive start/exclusive end pair for where to underline to highlight a given point of interest.
- A spanned area of interest, generic over what kind of thing is of interest
- A runtime value stack used during evaluation
Enums§
- Optional type color for
ByteStream, which determines type compatibility. - The foundational abstraction for input and output to commands
- The fundamental error type for the evaluation engine. These cases represent different kinds of errors the evaluator might face, along with helpful spans to label. An error renderer will take this error value and pass it into an error viewer to display to the user.
- The syntactic shapes that describe how a sequence should be parsed.
- Core structured values that pass through the pipeline in Nushell.
Traits§
- An extension trait for
Result, which adds a span to the error type. - Helper trait to create
Spannedmore ergonomically.