Trait code_graph::lang::SymbolQuery

source ·
pub trait SymbolQuery {
    // Required methods
    fn get_call(&self, code: &str, node: &Node<'_>) -> Option<CodeNode>;
    fn get_lang(&self) -> Language;
    fn get_definition(&self, code: &str, node: &Node<'_>) -> Option<CodeNode>;
}

Required Methods§

source

fn get_call(&self, code: &str, node: &Node<'_>) -> Option<CodeNode>

source

fn get_lang(&self) -> Language

source

fn get_definition(&self, code: &str, node: &Node<'_>) -> Option<CodeNode>

Implementors§