LLVM 22.0.0git
Transport.h File Reference

Go to the source code of this file.

Classes

class  llvm::lsp::JSONTransportInput
 An abstract class used by the JSONTransport to read JSON message. More...
class  llvm::lsp::JSONTransportInputOverFile
 Concrete implementation of the JSONTransportInput that reads from a file. More...
class  llvm::lsp::JSONTransport
 A transport class that performs the JSON-RPC communication with the LSP client. More...
class  llvm::lsp::MessageHandler
 A handler used to process the incoming transport messages. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::lsp

Typedefs

template<typename T>
using llvm::lsp::Callback = llvm::unique_function<void(llvm::Expected<T>)>
 A Callback<T> is a void function that accepts Expected<T>.
template<typename T>
using llvm::lsp::OutgoingNotification = llvm::unique_function<void(const T &)>
 An OutgoingNotification<T> is a function used for outgoing notifications send to the client.
template<typename T>
using llvm::lsp::OutgoingRequest
 An OutgoingRequest<T> is a function used for outgoing requests to send to the client.
template<typename T>
using llvm::lsp::OutgoingRequestCallback
 An OutgoingRequestCallback is invoked when an outgoing request to the client receives a response in turn.

Enumerations

enum  llvm::lsp::JSONStreamStyle { llvm::lsp::Standard , llvm::lsp::Delimited }
 The encoding style of the JSON-RPC messages (both input and output). More...

Functions

template<typename T>
static std::string llvm::debugString (T &&Op)