Expand description
koda-ast: Tree-sitter AST analysis library.
Provides file structure analysis and call graph extraction for Rust, Python, JavaScript, TypeScript, Go, Java, C/C++, and Bash.
This is the library crate. For the MCP server binary, see main.rs.
Re-exports§
pub use ast::analyze_file;pub use ast::get_call_graph;pub use ast::syntax_check;
Modules§
- ast
- AST analysis logic — tree-sitter parsing, call graph extraction.
Structs§
- ToolDef
- Tool definition metadata for consumers (koda-core ToolRegistry).
Functions§
- execute
- Execute an AST analysis action, returning the result as a string.
- tool_
definitions - Returns tool definitions exported by this crate.