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§
- Outline
Code Tree Sitter 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.- Outline
Code Tree Sitter Builder - Builder for
OutlineCodeTreeSitter
.