pub enum SemanticTokenModifier {
Declaration,
Definition,
Readonly,
Static,
Deprecated,
Abstract,
Async,
Modification,
Documentation,
DefaultLibrary,
}Expand description
Semantic analysis types for hover, tokens, and code understanding. Semantic token modifiers for Analyze/Complete stage highlighting.
Provides additional context about semantic tokens beyond their base type, enabling rich editor highlighting with detailed symbol information.
§LSP Integration
Maps to LSP SemanticTokenModifiers for consistent editor experience
across different LSP clients with full Perl language semantics.
Variants§
Declaration
Symbol is being declared at this location
Definition
Symbol is being defined at this location
Readonly
Symbol is read-only (constant)
Static
Symbol has static storage duration (state variables)
Deprecated
Symbol is deprecated and should not be used
Abstract
Symbol is abstract (method without implementation)
Async
Symbol represents an asynchronous operation
Modification
Symbol is being modified (written to)
Documentation
Symbol is documentation-related (POD)
DefaultLibrary
Symbol is from the Perl standard library
Trait Implementations§
Source§impl Clone for SemanticTokenModifier
impl Clone for SemanticTokenModifier
Source§fn clone(&self) -> SemanticTokenModifier
fn clone(&self) -> SemanticTokenModifier
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more