Crate neural_shared

Crate neural_shared 

Source
Expand description

Shared utilities for Neural Garage analysis tools

This library provides common functionality for analyzing code:

  • Language detection and parsing (via tree-sitter)
  • File scanning with .gitignore support
  • Report generation (JSON, Markdown, Terminal)

Re-exports§

pub use parser::Language;
pub use parser::ParsedFile;
pub use parser::Parser;
pub use parser::Symbol;
pub use parser::SymbolKind;
pub use report::Finding;
pub use report::JsonReporter;
pub use report::MarkdownReporter;
pub use report::Reporter;
pub use scanner::Scanner;

Modules§

parser
Language detection and AST parsing using tree-sitter
report
Report generation in various formats
scanner
File system scanner with .gitignore support

Macros§

anyhow
Construct an ad-hoc error from a string or existing non-anyhow error value.

Type Aliases§

Result
Result<T, Error>