Skip to main content

ScriptParser

Trait ScriptParser 

Source
pub trait ScriptParser: Send + Sync {
    // Required method
    fn parse(&self, state: &mut ParseState<'_>, lang: &str) -> Result<JsProgram>;
}

Required Methods§

Source

fn parse(&self, state: &mut ParseState<'_>, lang: &str) -> Result<JsProgram>

Implementors§