Module outline_code_tree_sitter

Module outline_code_tree_sitter 

Source
Available on crate feature tree-sitter only.
Expand description

Add the outline of the code in the given file to the metadata of a node, using tree-sitter.

Structs§

OutlineCodeTreeSitter
OutlineCodeTreeSitter adds a “Outline” field to the metadata of a node that contains a summary of the code in the node. It uses the tree-sitter parser to parse the code and remove any information that is less relevant for tasks that consider the file as a whole.
OutlineCodeTreeSitterBuilder
Builder for OutlineCodeTreeSitter.

Constants§

NAME