Skip to main content

get_stack_graph

Function get_stack_graph 

Source
pub fn get_stack_graph(
    syntax_graph: &SyntaxGraph,
    content: &Content,
    root: &Path,
) -> Option<StackGraph>
Expand description

Builds syntax_graph’s stack graph, naming the file’s module by its path under root; None when the file is not under root.