MLIR  19.0.0git
Public Attributes | List of all members
mlir::lsp::CompletionContext Struct Reference

#include "mlir/Tools/lsp-server-support/Protocol.h"

Public Attributes

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

Detailed Description

Definition at line 929 of file Protocol.h.

Member Data Documentation

◆ triggerCharacter

std::string mlir::lsp::CompletionContext::triggerCharacter

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

Is undefined if triggerKind !== CompletionTriggerKind.TriggerCharacter

Definition at line 935 of file Protocol.h.

Referenced by mlir::lsp::fromJSON().

◆ triggerKind

CompletionTriggerKind mlir::lsp::CompletionContext::triggerKind = CompletionTriggerKind::Invoked

How the completion was triggered.

Definition at line 931 of file Protocol.h.

Referenced by mlir::lsp::fromJSON().


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