perl-symbol-table
Symbol table and scope management for the Perl LSP ecosystem.
Part of tree-sitter-perl-rs.
Public API
SymbolTable-- central registry of symbols, references, and scopes with hierarchical lookupSymbol-- a symbol definition with name, qualified name, kind, location, scope, documentation, and attributesSymbolReference-- a reference to a symbol with usage context and write trackingScope-- a lexical scope boundary (Global, Package, Subroutine, Block, Eval)ScopeKind-- classification of scope typesScopeId-- unique scope identifier (usize)
Re-exports SymbolKind and VarKind from perl-symbol-types.
Features
| Feature | Purpose |
|---|---|
serde |
Optional serialization via serde::Serialize / Deserialize |
Dependencies
perl-symbol-types-- symbol kind taxonomyperl-position-tracking-- source location tracking
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.