summaryrefslogtreecommitdiff
path: root/graphics/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h')
-rw-r--r--graphics/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/graphics/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h b/graphics/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h
index c07cc8149d..145c63087f 100644
--- a/graphics/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h
+++ b/graphics/asymptote/LspCpp/include/LibLsp/lsp/general/InitializeParams.h
@@ -7,7 +7,7 @@
struct ClientInfo {
std::string name;
- boost::optional<std::string> version;
+ optional<std::string> version;
MAKE_SWAP_METHOD(ClientInfo,name,version);
};
@@ -18,14 +18,14 @@ struct lsInitializeParams {
// the server. Is null if the process has not been started by another process.
// If the parent process is not alive then the server should exit (see exit
// notification) its process.
- boost::optional<int> processId;
+ optional<int> processId;
/**
* Information about the client
*
* @since 3.15.0
*/
- boost::optional<ClientInfo> clientInfo;
+ optional<ClientInfo> clientInfo;
/**
* The locale the client is currently showing the user interface
* in. This must not necessarily be the locale of the operating
@@ -36,32 +36,32 @@ struct lsInitializeParams {
*
* @since 3.16.0
*/
- boost::optional<std::string> locale;
+ optional<std::string> locale;
// The rootPath of the workspace. Is null
// if no folder is open.
//
// @deprecated in favour of rootUri.
- boost::optional<std::string> rootPath;
+ optional<std::string> rootPath;
// The rootUri of the workspace. Is null if no
// folder is open. If both `rootPath` and `rootUri` are set
// `rootUri` wins.
- boost::optional<lsDocumentUri> rootUri;
+ optional<lsDocumentUri> rootUri;
// User provided initialization options.
- boost::optional<lsp::Any> initializationOptions;
+ optional<lsp::Any> initializationOptions;
// The capabilities provided by the client (editor or tool)
lsClientCapabilities capabilities;
/**
- * An boost::optional extension to the protocol.
+ * An optional extension to the protocol.
* To tell the server what client (editor) is talking to it.
*/
// @Deprecated
- boost::optional< std::string >clientName;
+ optional< std::string >clientName;
@@ -85,7 +85,7 @@ struct lsInitializeParams {
*
* Since 3.6.0
*/
- boost::optional< std::vector<WorkspaceFolder> > workspaceFolders;
+ optional< std::vector<WorkspaceFolder> > workspaceFolders;
MAKE_SWAP_METHOD(lsInitializeParams,
processId,