Skip to main content

evaluate_draft

Function evaluate_draft 

Source
pub fn evaluate_draft(
    source: &str,
    host: &Host,
) -> Result<(Grammar, bool), ScriptError>
Expand description

A draft of source’s graph, for a page following a drag: the same graph but with every remap warp left out, since sampling one runs the script’s function hundreds of times. true with it when something was left out, so the page knows to run the script in full once the drag settles.