Resolve a call expression string to the callable's owner class and method (or standalone function), returning a [`ResolvedCallableTarget`] with the label, parameters, and return type. This is the single shared implementation used by both signature help (`resolve_callable`) and named-argument completion (`resolve_named_arg_params`). Each caller projects the fields it needs from the result. The `
(
&self,
expr: &str,
content: &str,
position: Position,
file_ctx: &FileContext,
)
| 724 | /// - `"ClassName::method"` for static method calls |
| 725 | /// - `"new ClassName"` for constructor calls |
| 726 | pub(crate) fn resolve_callable_target( |
| 727 | &self, |
| 728 | expr: &str, |
| 729 | content: &str, |
| 730 | position: Position, |
| 731 | file_ctx: &FileContext, |
| 732 | ) -> Option<ResolvedCallableTarget> { |
| 733 | self.resolve_callable_target_with_args(expr, content, position, file_ctx, None) |
| 734 | } |
| 735 | |
| 736 | /// Like [`resolve_callable_target`](Self::resolve_callable_target) |
| 737 | /// but accepts optional raw argument text for method-level template |
no test coverage detected