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

Method code_lens

src/server.rs:984–989  ·  view source on GitHub ↗
(&self, params: CodeLensParams)

Source from the content-addressed store, hash-verified

982 }
983
984 async fn code_lens(&self, params: CodeLensParams) -> Result<Option<Vec<CodeLens>>> {
985 let uri = params.text_document.uri.to_string();
986 self.handle_with_uri("code_lens", &uri, |content| {
987 self.handle_code_lens(&uri, content)
988 })
989 }
990
991 async fn document_link(&self, params: DocumentLinkParams) -> Result<Option<Vec<DocumentLink>>> {
992 let uri = params.text_document.uri.to_string();

Callers

nothing calls this directly

Calls 2

handle_with_uriMethod · 0.80
handle_code_lensMethod · 0.80

Tested by

no test coverage detected