Skip to main content

php_lsp/
lib.rs

1// Private items in the modules below are only reachable through main.rs/backend.rs,
2// not through this lib entry point, so rustc would flag them as dead. Pub items in
3// a lib crate are never subject to dead_code, so only genuinely-internal items are
4// suppressed — real dead code within public API surfaces will still be caught.
5#![allow(dead_code)]
6
7// Public modules exposed for benchmark crates.
8pub mod ast;
9pub mod cache;
10pub mod completion;
11pub mod config;
12pub mod db;
13pub mod definition;
14pub mod docblock;
15pub mod document_store;
16pub mod hover;
17pub mod references;
18pub mod type_map;
19pub mod util;
20pub mod walk;
21
22// Public module: compact symbol index for background-indexed files.
23pub mod file_index;
24
25// Private modules needed transitively by the public ones.
26mod autoload;
27pub mod backend;
28pub mod call_hierarchy;
29mod code_lens;
30mod declaration;
31mod diagnostics;
32mod document_highlight;
33mod document_link;
34mod extract_action;
35mod extract_constant_action;
36mod extract_method_action;
37mod file_rename;
38mod folding;
39mod formatting;
40mod generate_action;
41mod implement_action;
42pub mod implementation;
43mod inlay_hints;
44mod inline_action;
45mod inline_value;
46mod moniker;
47mod on_type_format;
48mod open_files;
49mod organize_imports;
50pub mod panic_guard;
51mod phpdoc_action;
52mod phpstorm_meta;
53mod promote_action;
54pub mod rename;
55mod selection_range;
56pub mod semantic_diagnostics;
57mod semantic_tokens;
58mod signature_help;
59mod stubs;
60pub mod symbols;
61#[cfg(test)]
62mod test_utils;
63mod type_action;
64mod type_definition;
65mod type_hierarchy;
66mod use_import;
67mod workspace_scan;