LLVM 23.0.0git
llvm::lsp::InitializeParams Struct Reference

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

Public Attributes

ClientCapabilities capabilities
 The capabilities provided by the client (editor or tool).
std::optional< ClientInfoclientInfo
 Information about the client.
std::optional< TraceLeveltrace
 The initial trace setting. If omitted trace is disabled ('off').
std::optional< std::string > rootUri
 The root URI of the workspace. Is null if no folder is open.
std::optional< std::string > rootPath
 The root path of the workspace.

Detailed Description

Definition at line 209 of file Protocol.h.

Member Data Documentation

◆ capabilities

ClientCapabilities llvm::lsp::InitializeParams::capabilities

The capabilities provided by the client (editor or tool).

Definition at line 211 of file Protocol.h.

◆ clientInfo

std::optional<ClientInfo> llvm::lsp::InitializeParams::clientInfo

Information about the client.

Definition at line 214 of file Protocol.h.

◆ rootPath

std::optional<std::string> llvm::lsp::InitializeParams::rootPath

The root path of the workspace.

Is null if no folder is open. This is deprecated, use rootUri instead, but kept for more compatibility.

Definition at line 224 of file Protocol.h.

◆ rootUri

std::optional<std::string> llvm::lsp::InitializeParams::rootUri

The root URI of the workspace. Is null if no folder is open.

Definition at line 220 of file Protocol.h.

◆ trace

std::optional<TraceLevel> llvm::lsp::InitializeParams::trace

The initial trace setting. If omitted trace is disabled ('off').

Definition at line 217 of file Protocol.h.


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