arbor-core 0.1.0

AST parsing and code analysis for Arbor
Documentation

Arbor Core - AST parsing and code analysis

This crate provides the foundational parsing capabilities for Arbor. It uses Tree-sitter to parse source files into ASTs and extract meaningful code entities like functions, classes, and their relationships.

Example

use arbor_core::{parse_file, CodeNode};
use std::path::Path;

let nodes = parse_file(Path::new("src/main.rs")).unwrap();
for node in nodes {
    println!("{}: {} (line {})", node.kind, node.name, node.line_start);
}