Server.method: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lsp/server.bend as Server Lines 81-97 of bolt@1.27.0.0/src/lsp/server.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/lsp/server.bend&start_line=81&end_line=97 import Base # a method by its name def method(+name: String) -> Method: Bool.pick(Method, String.eq(name, "initialize"), MInitialize{}, Bool.pick(Method, String.eq(name, "shutdown"), MShutdown{}, Bool.pick(Method, String.eq(name, "exit"), MExit{}, Bool.pick(Method, String.eq(name, "textDocument/didOpen"), MOpen{}, Bool.pick(Method, String.eq(name, "textDocument/didChange"), MChange{}, Bool.pick(Method, String.eq(name, "textDocument/didSave"), MSave{}, Bool.pick(Method, String.eq(name, "textDocument/didClose"), MClose{}, Bool.pick(Method, String.eq(name, "textDocument/hover"), MHover{}, Bool.pick(Method, String.eq(name, "textDocument/definition"), MDefinition{}, Bool.pick(Method, String.eq(name, "textDocument/documentSymbol"), MSymbols{}, Bool.pick(Method, String.eq(name, "textDocument/completion"), MCompletion{}, Bool.pick(Method, String.eq(name, "textDocument/references"), MReferences{}, Bool.pick(Method, String.eq(name, "textDocument/rename"), MRename{}, Bool.pick(Method, String.eq(name, "textDocument/semanticTokens/full"), MSemantic{}, MOther{})))))))))))))) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/server.bend&name=Method