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

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

+ Collaboration diagram for mlir::lsp::CompletionContext:

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 886 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 892 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 888 of file Protocol.h.

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


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