Skip to main content

extract_inheritance

Function extract_inheritance 

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

Extract base class and interface names from a C# class, interface, or record node.

The parser calls this with the class/interface/record declaration node itself. We locate the base_list child and extract each base type name.