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 resolve;
19pub mod type_map;
20pub mod type_query;
21pub mod util;
22pub mod walk;
23
24// Public module: compact symbol index for background-indexed files.
25pub mod file_index;
26
27// Public module: per-file memoized symbol map (name → Vec<SymbolEntry>).
28pub mod symbol_map;
29
30// Private modules needed transitively by the public ones.
31mod autoload;
32pub mod backend;
33pub mod call_hierarchy;
34mod code_lens;
35mod declaration;
36mod diagnostics;
37mod document_highlight;
38mod document_link;
39mod extract_action;
40mod extract_constant_action;
41mod extract_method_action;
42mod file_rename;
43mod folding;
44mod formatting;
45mod generate_action;
46mod implement_action;
47pub mod implementation;
48mod inlay_hints;
49mod inline_action;
50mod inline_value;
51mod moniker;
52mod on_type_format;
53mod open_files;
54mod organize_imports;
55pub mod panic_guard;
56mod phpdoc_action;
57mod phpstorm_meta;
58mod promote_action;
59pub mod rename;
60mod selection_range;
61pub mod semantic_diagnostics;
62mod semantic_tokens;
63mod signature_help;
64mod stubs;
65pub mod symbols;
66#[cfg(test)]
67mod test_utils;
68mod type_action;
69mod type_definition;
70mod type_hierarchy;
71mod use_import;
72mod workspace_scan;