Skip to main content

extract_inheritance

Function extract_inheritance 

Source
pub fn extract_inheritance(_node: &Node<'_>, _source: &str) -> Vec<String>
Expand description

Extract inheritance information from a Rust class node. Rust class nodes (struct_item, enum_item, trait_item) have no syntactic inheritance. Inheritance is via impl blocks, not on the type declaration itself.