Function eval_string

Source
pub fn eval_string(
    routines: &Routines,
    world: Tracked<'_, dyn World + '_>,
    string: &str,
    span: Span,
    mode: EvalMode,
    scope: Scope,
) -> SourceResult<Value>
Expand description

Evaluate a string as code and return the resulting value.

Everything in the output is associated with the given span.