pub trait ModuleAnalyzer {
    fn analyze(
        &self,
        specifier: &ModuleSpecifier,
        source: Arc<str>,
        media_type: MediaType
    ) -> Result<ModuleInfo, Diagnostic>; }
Expand description

Analyzes the provided module.

It can be assumed that the source has not changed since it was loaded by deno_graph.

Required Methods

Analyzes the module.

Implementors