MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / build_method_label

Function build_method_label

src/completion/builder.rs:263–265  ·  view source on GitHub ↗

Build the label showing the method name and parameter names. Thin wrapper around [`build_callable_label`] for backward compatibility with callers that pass a `&MethodInfo`.

(method: &MethodInfo)

Source from the content-addressed store, hash-verified

261/// Thin wrapper around [`build_callable_label`] for backward
262/// compatibility with callers that pass a `&MethodInfo`.
263pub(crate) fn build_method_label(method: &MethodInfo) -> String {
264 build_callable_label(&method.name, &method.parameters)
265}
266
267/// Build completion items for a resolved class, filtered by access kind
268/// and visibility scope.

Callers 1

build_completion_itemsFunction · 0.85

Calls 1

build_callable_labelFunction · 0.85

Tested by

no test coverage detected