pub struct DependencyParser {
pub import_scanned_modules: SeqMap<ModulePath, ModuleInfo>,
/* private fields */
}
Fields§
§import_scanned_modules: SeqMap<ModulePath, ModuleInfo>
Implementations§
Source§impl DependencyParser
impl DependencyParser
pub fn new() -> Self
pub fn add_ast_module( &mut self, module_path: ModulePath, parsed_module: ParseModule, )
Source§impl DependencyParser
impl DependencyParser
pub fn parse_all_dependant_modules( &mut self, parse_root: ParseRoot, module_path: ModulePath, ) -> Result<(), DependencyError>
pub fn get_parsed_module(&self, path: &ModulePath) -> Option<&ParseModule>
pub fn get_parsed_module_mut( &mut self, path: &ModulePath, ) -> Option<&mut ParseModule>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DependencyParser
impl RefUnwindSafe for DependencyParser
impl Send for DependencyParser
impl Sync for DependencyParser
impl Unpin for DependencyParser
impl UnwindSafe for DependencyParser
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