arbor-core 1.0.1

AST parsing and code analysis for Arbor
Documentation

Overview

arbor-core is the parsing foundation of the Arbor ecosystem. It uses Tree-sitter to parse source code into Abstract Syntax Trees, extracting:

  • Nodes: Functions, classes, structs, variables, imports
  • Edges: Calls, inheritance, implementations, references

Supported Languages

Language Parser Entities
Rust tree-sitter-rust fn, struct, trait, impl, macro
TypeScript tree-sitter-typescript class, interface, method, type
JavaScript tree-sitter-javascript function, class, var, import
Python tree-sitter-python class, def, decorator, import
Go tree-sitter-go struct, interface, func, method
Java tree-sitter-java class, interface, method, field
C/C++ tree-sitter-c/cpp struct, class, function, template
C# tree-sitter-c-sharp class, method, property, interface
Dart tree-sitter-dart class, mixin, method, widget

Usage

This crate is primarily used internally by arbor-graph and arbor-watcher. For most use cases, install arbor-graph-cli instead:

cargo install arbor-graph-cli

Links