pub struct DocumentMetadata {
pub defined_symbols: RapidMap<String, SymbolInfo>,
pub imported_symbols: RapidMap<String, ImportInfo>,
pub exported_symbols: RapidMap<String, ExportInfo>,
pub function_calls: Vec<CallInfo>,
pub type_info: Vec<TypeInfo>,
pub language_metadata: RapidMap<String, String>,
}Expand description
Metadata about a parsed document for codebase-level analysis
Fields§
§defined_symbols: RapidMap<String, SymbolInfo>Symbols defined in this document (functions, classes, variables)
imported_symbols: RapidMap<String, ImportInfo>Symbols imported from other files
exported_symbols: RapidMap<String, ExportInfo>Symbols exported by this file
function_calls: Vec<CallInfo>Function calls made in this document
type_info: Vec<TypeInfo>Type definitions and usages
language_metadata: RapidMap<String, String>Language-specific metadata
Trait Implementations§
Source§impl Clone for DocumentMetadata
impl Clone for DocumentMetadata
Source§fn clone(&self) -> DocumentMetadata
fn clone(&self) -> DocumentMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocumentMetadata
impl Debug for DocumentMetadata
Source§impl Default for DocumentMetadata
impl Default for DocumentMetadata
Source§fn default() -> DocumentMetadata
fn default() -> DocumentMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DocumentMetadata
impl RefUnwindSafe for DocumentMetadata
impl Send for DocumentMetadata
impl Sync for DocumentMetadata
impl Unpin for DocumentMetadata
impl UnsafeUnpin for DocumentMetadata
impl UnwindSafe for DocumentMetadata
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