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 db;
12pub mod definition;
13pub mod docblock;
14pub mod document_store;
15pub mod hover;
16pub mod references;
17pub mod type_map;
18pub mod util;
19pub mod walk;
20
21// Public module: compact symbol index for background-indexed files.
22pub mod file_index;
23
24// Private modules needed transitively by the public ones.
25mod autoload;
26pub mod backend;
27pub mod call_hierarchy;
28mod code_lens;
29mod declaration;
30mod diagnostics;
31mod document_highlight;
32mod document_link;
33mod extract_action;
34mod extract_constant_action;
35mod extract_method_action;
36mod file_rename;
37mod folding;
38mod formatting;
39mod generate_action;
40mod implement_action;
41pub mod implementation;
42mod inlay_hints;
43mod inline_action;
44mod inline_value;
45mod moniker;
46mod on_type_format;
47mod organize_imports;
48mod phpdoc_action;
49mod phpstorm_meta;
50mod promote_action;
51pub mod rename;
52mod selection_range;
53pub mod semantic_diagnostics;
54mod semantic_tokens;
55mod signature_help;
56mod stubs;
57pub mod symbols;
58#[cfg(test)]
59mod test_utils;
60mod type_action;
61mod type_definition;
62mod type_hierarchy;
63mod use_import;