LLVM: llvm::lsp::CompletionContext Struct Reference (original) (raw)

#include "[llvm/Support/LSP/Protocol.h](Protocol%5F8h%5Fsource.html)"

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 955 of file Protocol.h.

Member Data Documentation

triggerCharacter

std::string llvm::lsp::CompletionContext::triggerCharacter

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

Is undefined if triggerKind !== CompletionTriggerKind.TriggerCharacter

Definition at line 961 of file Protocol.h.

triggerKind

CompletionTriggerKind llvm::lsp::CompletionContext::triggerKind = CompletionTriggerKind::Invoked

How the completion was triggered.

Definition at line 957 of file Protocol.h.


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