eval_string

Function eval_string 

Source
pub fn eval_string(
    routines: &Routines,
    world: Tracked<'_, dyn World + '_>,
    sink: TrackedMut<'_, Sink>,
    string: &str,
    span: Span,
    mode: SyntaxMode,
    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.