pub struct SymbolGraph {
pub path: String,
pub language: Option<String>,
pub parser: ParserKind,
pub symbols: Vec<CodeSymbol>,
pub relations: Vec<SymbolRelation>,
}Expand description
Symbol graph extracted from one file.
Fields§
§path: StringRepository-relative file path.
language: Option<String>Detected language or file family.
parser: ParserKindPrimary parser strategy used for the file.
symbols: Vec<CodeSymbol>Extracted declaration and manifest symbols.
relations: Vec<SymbolRelation>Extracted import, dependency, containment, and call relations.
Trait Implementations§
Source§impl Clone for SymbolGraph
impl Clone for SymbolGraph
Source§fn clone(&self) -> SymbolGraph
fn clone(&self) -> SymbolGraph
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 SymbolGraph
impl Debug for SymbolGraph
Source§impl<'de> Deserialize<'de> for SymbolGraph
impl<'de> Deserialize<'de> for SymbolGraph
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SymbolGraph
impl PartialEq for SymbolGraph
Source§impl Serialize for SymbolGraph
impl Serialize for SymbolGraph
impl Eq for SymbolGraph
impl StructuralPartialEq for SymbolGraph
Auto Trait Implementations§
impl Freeze for SymbolGraph
impl RefUnwindSafe for SymbolGraph
impl Send for SymbolGraph
impl Sync for SymbolGraph
impl Unpin for SymbolGraph
impl UnwindSafe for SymbolGraph
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.