Resolve a call expression string to the callable's metadata. Delegates to the shared [`Backend::resolve_callable_target`] and converts the result into the local [`ResolvedCallable`] type.
(
&self,
expr: &str,
content: &str,
position: Position,
ctx: &FileContext,
)
| 635 | /// Delegates to the shared [`Backend::resolve_callable_target`] and |
| 636 | /// converts the result into the local [`ResolvedCallable`] type. |
| 637 | fn resolve_callable( |
| 638 | &self, |
| 639 | expr: &str, |
| 640 | content: &str, |
| 641 | position: Position, |
| 642 | ctx: &FileContext, |
| 643 | ) -> Option<ResolvedCallable> { |
| 644 | self.resolve_callable_target(expr, content, position, ctx) |
| 645 | .map(ResolvedCallable::from) |
| 646 | } |
| 647 | |
| 648 | /// Find the callable target for a first-class callable assignment |
| 649 | /// like `$fn = someTarget(...)` and return the callable target string |
no test coverage detected