typst_analyzer_analysis::node

Function node_walker

Source
pub fn node_walker(pos: usize, ast: &SyntaxNode) -> Vec<SyntaxKind>
Expand description

Walks down the AST from current cursor position and Returns a vector of SyntaxKind. Must provide markup in vector in all cases since thas is the root.