Skip to main content

perl_lsp_inlay_hints/
lib.rs

1//! LSP inlay hints provider for Perl
2//!
3//! This crate provides inlay hint generation for type information.
4//!
5//! ## Features
6//!
7//! - Type inference
8//! - Parameter hints
9//! - LSP protocol compatibility
10//!
11//! ## Usage
12//!
13//! ```rust,ignore
14//! use perl_lsp_inlay_hints::InlayHintsProvider;
15//!
16//! let provider = InlayHintsProvider::new();
17//! let hints = provider.generate_hints(&ast, source, &symbol_table)?;
18//! ```
19
20#![deny(unsafe_code)]
21#![warn(rust_2018_idioms)]
22#![warn(missing_docs)]
23#![warn(clippy::all)]
24
25mod inlay_hints;
26
27pub use inlay_hints::{
28    InlayHint, InlayHintKind, InlayHintsProvider, extract_param_names, parameter_hints,
29    trivial_type_hints,
30};