eval

Function eval 

pub fn eval(
    engine: &mut Engine<'_>,
    source: Spanned<String>,
    mode: SyntaxMode,
    scope: Dict,
) -> Result<Value, EcoVec<SourceDiagnostic>>
Expand description

Evaluates a string as Typst code.