Home
last modified time | relevance | path

Searched refs:LSPBinder (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DLSPBinder.h34 class LSPBinder {
110 llvm::Expected<T> LSPBinder::parse(const llvm::json::Value &Raw, in parse()
133 void LSPBinder::method(llvm::StringLiteral Method, ThisT *This, in method()
150 LSPBinder::parse<Param>(RawParams, Method, "request"); in notification()
170 class LSPBinder::UntypedOutgoingNotification {
176 LSPBinder::outgoingNotification(llvm::StringLiteral);
185 inline LSPBinder::UntypedOutgoingNotification
186 LSPBinder::outgoingNotification(llvm::StringLiteral Method) { in outgoingNotification()
190 class LSPBinder::UntypedOutgoingMethod {
215 inline LSPBinder::UntypedOutgoingMethod
[all …]
H A DClangdLSPServer.h37 private LSPBinder::RawOutgoing {
177 LSPBinder::OutgoingMethod<ApplyWorkspaceEditParams,
180 LSPBinder::OutgoingNotification<ShowMessageParams> ShowMessage;
182 LSPBinder::OutgoingNotification<FileStatus> NotifyFileStatus;
183 LSPBinder::OutgoingMethod<WorkDoneProgressCreateParams, std::nullptr_t>
185 LSPBinder::OutgoingNotification<ProgressParams<WorkDoneProgressBegin>>
187 LSPBinder::OutgoingNotification<ProgressParams<WorkDoneProgressReport>>
189 LSPBinder::OutgoingNotification<ProgressParams<WorkDoneProgressEnd>>
191 LSPBinder::OutgoingMethod<NoParams, std::nullptr_t> SemanticTokensRefresh;
196 void bindMethods(LSPBinder &, const ClientCapabilities &Caps);
[all …]
H A DFeatureModule.h26 class LSPBinder; variable
70 virtual void initializeLSP(LSPBinder &Bind, in initializeLSP()
H A DClangdLSPServer.cpp589 LSPBinder Binder(Handlers, *this); in onInitialize()
1569 LSPBinder Bind(this->Handlers, *this); in ClangdLSPServer()
1573 void ClangdLSPServer::bindMethods(LSPBinder &Bind, in bindMethods()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DLSPBinderTests.cpp41 struct OutgoingRecorder : public LSPBinder::RawOutgoing {
63 LSPBinder::RawHandlers RawHandlers; in TEST()
65 LSPBinder Binder{RawHandlers, RawOutgoing}; in TEST()
128 LSPBinder::RawHandlers RawHandlers; in TEST()
130 LSPBinder Binder{RawHandlers, RawOutgoing}; in TEST()
132 LSPBinder::OutgoingMethod<Foo, Foo> Echo; in TEST()
134 LSPBinder::OutgoingMethod<Foo, std::string> WrongSignature; in TEST()
136 LSPBinder::OutgoingMethod<Foo, Foo> Fail; in TEST()
H A DClangdLSPServerTests.cpp235 void initializeLSP(LSPBinder &Bind, const llvm::json::Object &ClientCaps, in TEST_F()
331 void initializeLSP(LSPBinder &Bind, const llvm::json::Object &ClientCaps, in TEST_F()
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt1411 clang-tools-extra/clangd/LSPBinder.h