Struct deno_graph::DefaultSourceParser [−][src]
pub struct DefaultSourceParser;
Expand description
The default implementation of SourceParser
used by this crate.
Implementations
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 DefaultSourceParser
impl Send for DefaultSourceParser
impl Sync for DefaultSourceParser
impl Unpin for DefaultSourceParser
impl UnwindSafe for DefaultSourceParser
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