Skip to main content

eval_string

Function eval_string 

Source
pub fn eval_string(
    world: Tracked<'_, dyn World + '_>,
    library: &LazyHash<Library>,
    sink: TrackedMut<'_, Sink>,
    introspector: Tracked<'_, dyn Introspector + '_>,
    context: Tracked<'_, Context<'_>>,
    string: &str,
    spans: SpanMode<'_>,
    mode: SyntaxMode,
    scope: Scope,
) -> SourceResult<Value>
Expand description

Evaluates a string in the given syntax mode and returns the resulting value.