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