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

Represents the signature of a callable. More...

#include <Protocol.h>

Collaboration diagram for lspserver::SignatureHelp:
[legend]

Public Attributes

std::vector< SignatureInformationsignatures
 The resulting signatures.
 
int activeSignature = 0
 The active signature.
 
int activeParameter = 0
 The active parameter of the active signature.
 
Position argListStart
 

Detailed Description

Represents the signature of a callable.

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

Member Data Documentation

◆ activeParameter

int lspserver::SignatureHelp::activeParameter = 0

The active parameter of the active signature.

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

◆ activeSignature

int lspserver::SignatureHelp::activeSignature = 0

The active signature.

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

◆ argListStart

Position lspserver::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 1365 of file lspserver/include/lspserver/Protocol.h.

◆ signatures

std::vector<SignatureInformation> lspserver::SignatureHelp::signatures

The resulting signatures.

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


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