clang-tools  14.0.0git
Public Attributes | List of all members
clang::clangd::SignatureHelp Struct Reference

Represents the signature of a callable. More...

#include <Protocol.h>

Collaboration diagram for clang::clangd::SignatureHelp:
Collaboration graph
[legend]

Public Attributes

std::vector< SignatureInformationsignatures
 The resulting signatures. More...
 
int activeSignature = 0
 The active signature. More...
 
int activeParameter = 0
 The active parameter of the active signature. More...
 
Position argListStart
 Position of the start of the argument list, including opening paren. More...
 

Detailed Description

Represents the signature of a callable.

Definition at line 1291 of file Protocol.h.

Member Data Documentation

◆ activeParameter

int clang::clangd::SignatureHelp::activeParameter = 0

The active parameter of the active signature.

Definition at line 1300 of file Protocol.h.

Referenced by clang::clangd::toJSON().

◆ activeSignature

int clang::clangd::SignatureHelp::activeSignature = 0

The active signature.

Definition at line 1297 of file Protocol.h.

Referenced by clang::clangd::toJSON().

◆ argListStart

Position clang::clangd::SignatureHelp::argListStart

Position of the start of the argument list, including opening paren.

e.g. foo("first arg", "second arg", ^-argListStart ^-cursor This is a clangd-specific extension, it is only available via C++ API and not currently serialized for the LSP.

Definition at line 1307 of file Protocol.h.

◆ signatures

std::vector<SignatureInformation> clang::clangd::SignatureHelp::signatures

The resulting signatures.

Definition at line 1294 of file Protocol.h.

Referenced by clang::clangd::toJSON().


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