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

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

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

Public Attributes

std::string labelString
 The label of this parameter. Ignored when labelOffsets is set.
std::optional< std::pair< unsigned, unsigned > > labelOffsets
 Inclusive start and exclusive end offsets withing the containing signature label.
std::string documentation
 The documentation of this parameter. Optional.

Detailed Description

A single parameter of a particular signature.

Definition at line 966 of file Protocol.h.

Member Data Documentation

◆ documentation

std::string llvm::lsp::ParameterInformation::documentation

The documentation of this parameter. Optional.

Definition at line 975 of file Protocol.h.

◆ labelOffsets

std::optional<std::pair<unsigned, unsigned> > llvm::lsp::ParameterInformation::labelOffsets

Inclusive start and exclusive end offsets withing the containing signature label.

Definition at line 972 of file Protocol.h.

◆ labelString

std::string llvm::lsp::ParameterInformation::labelString

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

Definition at line 968 of file Protocol.h.


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