Skip to main content

eval

Function eval 

Source
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.