nixd
Loading...
Searching...
No Matches
Public Attributes | List of all members
lspserver::ParameterInformation Struct Reference

A single parameter of a particular signature. More...

#include <Protocol.h>

Public Attributes

std::string labelString
 The label of this parameter. Ignored when labelOffsets is set.
 
std::optional< std::pair< unsigned, unsigned > > labelOffsets
 
std::string documentation
 The documentation of this parameter. Optional.
 

Detailed Description

A single parameter of a particular signature.

Definition at line 1316 of file lspserver/include/lspserver/Protocol.h.

Member Data Documentation

◆ documentation

std::string lspserver::ParameterInformation::documentation

The documentation of this parameter. Optional.

Definition at line 1328 of file lspserver/include/lspserver/Protocol.h.

◆ labelOffsets

std::optional<std::pair<unsigned, unsigned> > lspserver::ParameterInformation::labelOffsets

Inclusive start and exclusive end offsets withing the containing signature label. Offsets are computed by lspLength(), which counts UTF-16 code units by default but that can be overriden, see its documentation for details.

Definition at line 1325 of file lspserver/include/lspserver/Protocol.h.

◆ labelString

std::string lspserver::ParameterInformation::labelString

The label of this parameter. Ignored when labelOffsets is set.

Definition at line 1319 of file lspserver/include/lspserver/Protocol.h.


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