clang-tools 20.0.0git
Public Member Functions | List of all members
clang::clangd::LSPClient::TransportImpl Class Reference
Inheritance diagram for clang::clangd::LSPClient::TransportImpl:
Inheritance graph
[legend]

Public Member Functions

std::pair< llvm::json::Value, CallResult * > addCallSlot ()
 
void enqueue (std::function< void(MessageHandler &)> Action)
 
std::vector< llvm::json::Value > takeNotifications (llvm::StringRef Method)
 
void expectCall (llvm::StringRef Method)
 
std::vector< llvm::json::Value > takeCallParams (llvm::StringRef Method)
 
- Public Member Functions inherited from clang::clangd::Transport
virtual ~Transport ()=default
 
virtual void notify (llvm::StringRef Method, llvm::json::Value Params)=0
 
virtual void call (llvm::StringRef Method, llvm::json::Value Params, llvm::json::Value ID)=0
 
virtual void reply (llvm::json::Value ID, llvm::Expected< llvm::json::Value > Result)=0
 
virtual llvm::Error loop (MessageHandler &)=0
 

Detailed Description

Definition at line 83 of file LSPClient.cpp.

Member Function Documentation

◆ addCallSlot()

std::pair< llvm::json::Value, CallResult * > clang::clangd::LSPClient::TransportImpl::addCallSlot ( )
inline

Definition at line 85 of file LSPClient.cpp.

References ID.

◆ enqueue()

void clang::clangd::LSPClient::TransportImpl::enqueue ( std::function< void(MessageHandler &)>  Action)
inline

Definition at line 93 of file LSPClient.cpp.

References Action.

◆ expectCall()

void clang::clangd::LSPClient::TransportImpl::expectCall ( llvm::StringRef  Method)
inline

Definition at line 108 of file LSPClient.cpp.

References clang::clangd::Method.

◆ takeCallParams()

std::vector< llvm::json::Value > clang::clangd::LSPClient::TransportImpl::takeCallParams ( llvm::StringRef  Method)
inline

Definition at line 113 of file LSPClient.cpp.

References clang::clangd::Method.

◆ takeNotifications()

std::vector< llvm::json::Value > clang::clangd::LSPClient::TransportImpl::takeNotifications ( llvm::StringRef  Method)
inline

Definition at line 99 of file LSPClient.cpp.

References clang::clangd::Method.


The documentation for this class was generated from the following file: