clang-tools 20.0.0git
|
Public Member Functions | |
MessageHandler (ClangdLSPServer &Server) | |
bool | onNotify (llvm::StringRef Method, llvm::json::Value Params) override |
bool | onCall (llvm::StringRef Method, llvm::json::Value Params, llvm::json::Value ID) override |
bool | onReply (llvm::json::Value ID, llvm::Expected< llvm::json::Value > Result) override |
llvm::json::Value | bindReply (Callback< llvm::json::Value > Reply) |
Public Member Functions inherited from clang::clangd::Transport::MessageHandler | |
virtual | ~MessageHandler ()=default |
virtual bool | onNotify (llvm::StringRef Method, llvm::json::Value)=0 |
virtual bool | onCall (llvm::StringRef Method, llvm::json::Value Params, llvm::json::Value ID)=0 |
virtual bool | onReply (llvm::json::Value ID, llvm::Expected< llvm::json::Value > Result)=0 |
Definition at line 206 of file ClangdLSPServer.cpp.
|
inline |
Definition at line 208 of file ClangdLSPServer.cpp.
|
inline |
Definition at line 297 of file ClangdLSPServer.cpp.
References clang::clangd::elog(), clang::clangd::error(), and ID.
|
inlineoverridevirtual |
Implements clang::clangd::Transport::MessageHandler.
Definition at line 232 of file ClangdLSPServer.cpp.
References clang::clangd::elog(), ID, clang::clangd::log(), clang::clangd::Method, clang::clangd::MethodNotFound, clang::clangd::ServerNotInitialized, and SPAN_ATTACH.
|
inlineoverridevirtual |
Implements clang::clangd::Transport::MessageHandler.
Definition at line 210 of file ClangdLSPServer.cpp.
References clang::clangd::elog(), clang::clangd::log(), clang::clangd::Method, and SPAN_ATTACH.
|
inlineoverridevirtual |
Implements clang::clangd::Transport::MessageHandler.
Definition at line 255 of file ClangdLSPServer.cpp.
References clang::clangd::elog(), ID, and clang::clangd::log().