|
clang-tools 22.0.0git
|
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 |
| Inclusive start and exclusive end offsets withing the containing signature label. | |
| std::string | documentation |
| The documentation of this parameter. Optional. | |
A single parameter of a particular signature.
Definition at line 1388 of file Protocol.h.
| std::string clang::clangd::ParameterInformation::documentation |
The documentation of this parameter. Optional.
Definition at line 1400 of file Protocol.h.
Referenced by clang::clangd::toJSON().
| std::optional<std::pair<unsigned, unsigned> > clang::clangd::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 1397 of file Protocol.h.
Referenced by clang::clangd::toJSON().
| std::string clang::clangd::ParameterInformation::labelString |
The label of this parameter. Ignored when labelOffsets is set.
Definition at line 1391 of file Protocol.h.
Referenced by clang::clangd::toJSON().