Struct deno_graph::CapturingSourceParser [−][src]
pub struct CapturingSourceParser { /* fields omitted */ }
Expand description
An implementation of SourceParser
that stores the parsed ASTs.
Implementations
Gets a parsed source by module specifier if it was previously parsed.
Trait Implementations
Returns the “default value” for a type. Read more
fn parse_module(
&self,
specifier: &ModuleSpecifier,
source: Arc<String>,
media_type: MediaType
) -> Result<ParsedSource, Diagnostic>
fn parse_module(
&self,
specifier: &ModuleSpecifier,
source: Arc<String>,
media_type: MediaType
) -> Result<ParsedSource, Diagnostic>
Parses the provided module to a ParsedSource
.
Auto Trait Implementations
impl !RefUnwindSafe for CapturingSourceParser
impl Send for CapturingSourceParser
impl !Sync for CapturingSourceParser
impl Unpin for CapturingSourceParser
impl UnwindSafe for CapturingSourceParser
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more