Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PHPantom-dev/phpantom_lsp
/ create_test_backend
Function
create_test_backend
tests/integration/common/mod.rs:9–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
use tower_lsp::lsp_types::*;
8
9
pub fn create_test_backend() -> Backend {
10
Backend::new_test()
11
}
12
13
/// Create a test backend with the **full embedded stub indices** loaded.
14
///
Callers
15
test_arrow_fn_param_inferred_from_generic_map
Function · 0.85
test_closure_param_inferred_from_generic_each
Function · 0.85
test_explicit_type_hint_takes_precedence
Function · 0.85
test_no_inference_for_non_callable_param
Function · 0.85
test_concrete_callable_param_inference
Function · 0.85
test_inferred_type_resolves_properties
Function · 0.85
test_static_method_callable_param_inference
Function · 0.85
test_callable_at_non_zero_position
Function · 0.85
test_closure_type_syntax_inference
Function · 0.85
test_inference_on_this_method_call
Function · 0.85
test_this_in_callable_param_resolves_to_receiver
Function · 0.85
test_static_in_callable_param_resolves_to_receiver
Function · 0.85
Calls
no outgoing calls
Tested by
15
test_arrow_fn_param_inferred_from_generic_map
Function · 0.68
test_closure_param_inferred_from_generic_each
Function · 0.68
test_explicit_type_hint_takes_precedence
Function · 0.68
test_no_inference_for_non_callable_param
Function · 0.68
test_concrete_callable_param_inference
Function · 0.68
test_inferred_type_resolves_properties
Function · 0.68
test_static_method_callable_param_inference
Function · 0.68
test_callable_at_non_zero_position
Function · 0.68
test_closure_type_syntax_inference
Function · 0.68
test_inference_on_this_method_call
Function · 0.68
test_this_in_callable_param_resolves_to_receiver
Function · 0.68
test_static_in_callable_param_resolves_to_receiver
Function · 0.68