pub fn analyze_script(
script: &Script,
langspec: Option<&LangSpec>,
) -> Result<SemanticModel, SemanticError>Expand description
Performs semantic analysis on one parsed script.
ยงErrors
Returns SemanticError if the script contains semantic violations.