pub struct HoverInfo {
pub signature: String,
pub documentation: Option<String>,
pub details: Vec<String>,
}Expand description
Semantic analysis types for hover, tokens, and code understanding. Hover information for symbols displayed in LSP hover requests.
Provides comprehensive symbol information including signature, documentation, and contextual details for enhanced developer experience.
Used during Navigate/Analyze stages to answer hover queries.
§Performance Characteristics
- Computation: <100μs for typical symbol lookup
- Memory: Cached per symbol for repeated access
- LSP response: <50ms end-to-end including network
§Perl Context Integration
- Subroutine signatures with parameter information
- Package qualification and scope context
- POD documentation extraction and formatting
- Variable type inference and usage patterns
Workflow: Navigate/Analyze hover details for LSP.
Fields§
§signature: StringSymbol signature or declaration
documentation: Option<String>Documentation extracted from POD or comments
details: Vec<String>Additional contextual details
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HoverInfo
impl RefUnwindSafe for HoverInfo
impl Send for HoverInfo
impl Sync for HoverInfo
impl Unpin for HoverInfo
impl UnsafeUnpin for HoverInfo
impl UnwindSafe for HoverInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more