Expand description
This crate primarily drives the evaluation of expressions.
(Some overlap with nu-protocol)
- Provides
CallExt
§Internal Nushell crate
This crate implements components of Nushell and is not designed to support plugin authors or other users directly.
Re-exports§
pub use column::get_columns;pub use documentation::get_full_help;pub use env::*;
Modules§
Structs§
ClosureEvalis used to repeatedly evaluate a closure with different values/inputs.ClosureEvalOnceis used to evaluate a closure a single time.
Traits§
Functions§
- Compile Nushell pipeline abstract syntax tree (AST) to internal representation (IR) instructions for evaluation.
- Checks the expression to see if it’s a internal or external call. If so, passes the input into the call and gets out the result Otherwise, invokes the expression
- Evaluate the compiled representation of a
Block. - Helper function to fetch
eval_block()with the correct type parameter based on whether engine_state is configured with or without a debugger. - Helper function to fetch
eval_block_with_early_return()with the correct type parameter based on whether engine_state is configured with or without a debugger. - Helper function to fetch
eval_expression()with the correct type parameter based on whether engine_state is configured with or without a debugger. - Helper function to fetch
eval_expression_with_input()with the correct type parameter based on whether engine_state is configured with or without a debugger. - Helper function to fetch
eval_ir_block()with the correct type parameter based on whether engine_state is configured with or without a debugger. - Helper function to fetch
eval_subexpression()with the correct type parameter based on whether engine_state is configured with or without a debugger. - This function is like
nu_glob::globfrom theglobcrate, except it is relative to a given cwd. - Redirect the environment from callee to the caller.
Type Aliases§
- Type of eval_block() function
- Type of eval_block_with_early_return() function
- Type of eval_expression() function
- Type of eval_expression_with_input() function
- Type of eval_ir_block() function
- Type of eval_subexpression() function