Skip to main content

check

Function check 

Source
pub fn check(source: &str) -> Result<(), FiddlerError>
Expand description

Check whether FiddlerScript source is syntactically valid.

Returns Ok(()) if the source parses successfully, or the first FiddlerError encountered. This is a convenience wrapper around parse that discards the AST.