Skip to main content

extract_interface

Function extract_interface 

Source
pub fn extract_interface(
    path: &Path,
    source: &str,
) -> PatternsResult<InterfaceInfo>
Expand description

Extract the public interface from a source file.

Detects the language from the file extension and uses the appropriate tree-sitter grammar and node kinds.