clang-tools 19.0.0git
Public Attributes | List of all members
clang::clangd::CompletionContext Struct Reference

#include <Protocol.h>

Public Attributes

CompletionTriggerKind triggerKind = CompletionTriggerKind::Invoked
 How the completion was triggered.
 
std::string triggerCharacter
 The trigger character (a single character) that has trigger code complete.
 

Detailed Description

Definition at line 1222 of file Protocol.h.

Member Data Documentation

◆ triggerCharacter

std::string clang::clangd::CompletionContext::triggerCharacter

The trigger character (a single character) that has trigger code complete.

Is undefined if triggerKind !== CompletionTriggerKind.TriggerCharacter

Definition at line 1227 of file Protocol.h.

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

◆ triggerKind

CompletionTriggerKind clang::clangd::CompletionContext::triggerKind = CompletionTriggerKind::Invoked

How the completion was triggered.

Definition at line 1224 of file Protocol.h.

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


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