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

Method document_symbol

src/server.rs:958–967  ·  view source on GitHub ↗
(
        &self,
        params: DocumentSymbolParams,
    )

Source from the content-addressed store, hash-verified

956 }
957
958 async fn document_symbol(
959 &self,
960 params: DocumentSymbolParams,
961 ) -> Result<Option<DocumentSymbolResponse>> {
962 let uri = params.text_document.uri.to_string();
963
964 self.handle_with_uri("document_symbol", &uri, |content| {
965 self.handle_document_symbol(&uri, content)
966 })
967 }
968
969 #[allow(deprecated)] // SymbolInformation::deprecated is deprecated in the LSP types crate
970 async fn symbol(

Callers

nothing calls this directly

Calls 2

handle_with_uriMethod · 0.80

Tested by

no test coverage detected