Module tree_sitter

Module tree_sitter 

Source
Expand description

Tree-sitter integration for Research-preview code parsing and analysis

This module provides syntax-aware code understanding and manipulation capabilities using tree-sitter parsers for multiple programming languages.

§Features

  • Multi-language Support: Rust, Python, JavaScript, TypeScript, Go, Java
  • Syntax Tree Analysis: Parse code into structured syntax trees
  • Symbol Extraction: Extract functions, classes, variables, and imports
  • Code Navigation: Navigate code structures with precision
  • Semantic Analysis: Understand code semantics beyond syntax
  • Refactoring Support: Intelligent code manipulation capabilities

Re-exports§

pub use analysis::*;
pub use analyzer::*;
pub use languages::*;
pub use navigation::*;
pub use refactoring::*;

Modules§

analysis
Code analysis capabilities using tree-sitter
analyzer
Core tree-sitter analyzer for code parsing and analysis
languages
Language-specific functionality and queries for tree-sitter
navigation
Code navigation capabilities using tree-sitter
refactoring
Code refactoring capabilities using tree-sitter