Skip to main content

Module Fn

Module Fn 

Source
Expand description

§Hover Function

Implements hover functionality for language features.

§Responsibilities

  • Handle hover requests from the frontend
  • Delegate to language feature providers
  • Transform provider responses to standard format

§Architectural Role

This module is part of the Command layer, providing the actual hover functionality that bridges the frontend to the language service.

§Design

  • Single async function as the entry point
  • Validates input before processing
  • Delegates to providers for actual implementation
  • Returns standardized response

Functions§

Hover
Provides hover information at the given document position.
ProvideHover 🔒
Internal implementation to get hover from a provider.
ValidateRequest 🔒
Validates a hover request