Expand description
Unified Perl symbol taxonomy for LSP tooling.
This crate provides a single, authoritative definition of Perl symbol kinds used across the parser, semantic analyzer, workspace index, and LSP providers.
§Design Goals
- Single source of truth: All symbol classification flows through this crate
- Perl semantics: Distinguishes variables by sigil type (scalar/array/hash)
- LSP compatibility: Direct mapping to LSP protocol symbol kinds
- Zero-cost abstractions: Enum variants are
Copytypes with inline methods
Enums§
- Symbol
Kind - Unified Perl symbol classification for LSP tooling.
- VarKind
- Variable sigil classification for Perl’s three primary container types.