Expand description
The Surgeon — Tree-sitter engine for AST-aware operations in Pathfinder.
This crate provides the Surgeon trait and its default implementation,
orchestrating tree-sitter parsers, queries, and AST caching for multiple
languages. It enables features like read_symbol_scope and semantic path
resolution.
Re-exports§
pub use error::SurgeonError;pub use surgeon::Surgeon;pub use treesitter_surgeon::TreeSitterSurgeon;
Modules§
- cache
- Module for cache functionality.
- error
- Module containing error types and utilities. Module for error types and utilities.
- language
- Language detection and support for various programming languages.
- mock
- Module containing mock implementations for testing.
- parser
- The parser module providing parsing capabilities.
- repo_
map - Module for repository mapping.
- surgeon
- Provides functionality to manipulate and transform Tree-sitter syntax trees.
- symbols
- Public module for symbol definitions.
- treesitter_
surgeon - Provides utilities for surgically manipulating Tree-sitter parse trees. Public module providing Tree-sitter-based surgery utilities.
- vue_
zones - Vue multi-zone parsing utilities.
Multi-zone Vue SFC parsing via tree-sitter’s
set_included_ranges.