LLVM 22.0.0git
llvm::lsp::ShowMessageParams Struct Reference

#include "llvm/Support/LSP/Protocol.h"

Public Member Functions

 ShowMessageParams (MessageType Type, std::string Message)

Public Attributes

MessageType type
std::string message
 The actual message.
std::optional< std::vector< MessageActionItem > > actions
 The message action items to present.

Detailed Description

Definition at line 1283 of file Protocol.h.

Constructor & Destructor Documentation

◆ ShowMessageParams()

llvm::lsp::ShowMessageParams::ShowMessageParams ( MessageType Type,
std::string Message )
inline

Definition at line 1284 of file Protocol.h.

References message, llvm::lsp::Type, and type.

Member Data Documentation

◆ actions

std::optional<std::vector<MessageActionItem> > llvm::lsp::ShowMessageParams::actions

The message action items to present.

Definition at line 1290 of file Protocol.h.

Referenced by llvm::lsp::toJSON().

◆ message

std::string llvm::lsp::ShowMessageParams::message

The actual message.

Definition at line 1288 of file Protocol.h.

Referenced by ShowMessageParams(), and llvm::lsp::toJSON().

◆ type

MessageType llvm::lsp::ShowMessageParams::type

Definition at line 1286 of file Protocol.h.

Referenced by ShowMessageParams(), and llvm::lsp::toJSON().


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