LLVM 22.0.0git
llvm::lsp::CompletionContext Struct Reference

#include "llvm/Support/LSP/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 936 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 942 of file Protocol.h.

◆ triggerKind

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

How the completion was triggered.

Definition at line 938 of file Protocol.h.


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