nu_protocol::eval_const

Function eval_constant

Source
pub fn eval_constant(
    working_set: &StateWorkingSet<'_>,
    expr: &Expression,
) -> Result<Value, ShellError>
Expand description

Evaluate a constant value at parse time