Resolve the parameter list for a named-argument completion context. Examines the `call_expression` in the context and looks up the corresponding function or method to extract its parameters. Delegates to the shared [`Backend::resolve_callable_target`] and extracts just the parameters from the result.
(
&self,
ctx: &crate::completion::named_args::NamedArgContext,
content: &str,
position: Position,
file_ctx: &FileContext,
)
| 1656 | /// Delegates to the shared [`Backend::resolve_callable_target`] and |
| 1657 | /// extracts just the parameters from the result. |
| 1658 | fn resolve_named_arg_params( |
| 1659 | &self, |
| 1660 | ctx: &crate::completion::named_args::NamedArgContext, |
| 1661 | content: &str, |
| 1662 | position: Position, |
| 1663 | file_ctx: &FileContext, |
| 1664 | ) -> Vec<crate::types::ParameterInfo> { |
| 1665 | self.resolve_callable_target(&ctx.call_expression, content, position, file_ctx) |
| 1666 | .map(|r| r.parameters) |
| 1667 | .unwrap_or_default() |
| 1668 | } |
| 1669 | |
| 1670 | /// Extract a [`CompletionTarget`] from the symbol map's precomputed |
| 1671 | /// `MemberAccess` data. |
no test coverage detected