Struct deno_graph::DefaultParsedSourceStore
source · pub struct DefaultParsedSourceStore { /* private fields */ }
Expand description
Default store that works on a single thread.
Trait Implementations§
source§impl Default for DefaultParsedSourceStore
impl Default for DefaultParsedSourceStore
source§fn default() -> DefaultParsedSourceStore
fn default() -> DefaultParsedSourceStore
Returns the “default value” for a type. Read more
source§impl ParsedSourceStore for DefaultParsedSourceStore
impl ParsedSourceStore for DefaultParsedSourceStore
source§fn set_parsed_source(
&self,
specifier: ModuleSpecifier,
parsed_source: ParsedSource
) -> Option<ParsedSource>
fn set_parsed_source( &self, specifier: ModuleSpecifier, parsed_source: ParsedSource ) -> Option<ParsedSource>
Sets the parsed source, potentially returning the previous value.
fn get_parsed_source(&self, specifier: &ModuleSpecifier) -> Option<ParsedSource>
source§fn get_scope_analysis_parsed_source(
&self,
specifier: &ModuleSpecifier
) -> Option<ParsedSource>
fn get_scope_analysis_parsed_source( &self, specifier: &ModuleSpecifier ) -> Option<ParsedSource>
Gets a
deno_ast::ParsedSource
from the store, upgrading it
to have scope analysis if it doesn’t already.Auto Trait Implementations§
impl !RefUnwindSafe for DefaultParsedSourceStore
impl Send for DefaultParsedSourceStore
impl !Sync for DefaultParsedSourceStore
impl Unpin for DefaultParsedSourceStore
impl UnwindSafe for DefaultParsedSourceStore
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more