Expand description
Unified Perl symbol model: taxonomy, cursor extraction, search indexing, and AST projection.
This crate consolidates the former perl-symbol-types, perl-symbol-cursor,
perl-symbol-index, and perl-symbol-surface microcrates into a single published
facade (see ADR-0041). Internal module boundaries are preserved; the public surface
is defined by api.rs.
§Modules
types— Symbol taxonomy:SymbolKind,VarKind, and LSP mappingscursor— Cursor-based symbol extraction helpersindex— Trie + inverted-index symbol searchsurface— Projection layer: derives symbol views from Perl AST
§Quick start
ⓘ
use perl_symbol::{SymbolKind, VarKind};
let var = SymbolKind::Variable(VarKind::Scalar);
assert_eq!(var.sigil(), Some("$"));Re-exports§
pub use api::*;