LLVM API Documentation

Public Types | Public Attributes
llvm::LineEditor::CompletionAction Struct Reference

The action to perform upon a completion request. More...

#include <LineEditor.h>

Collaboration diagram for llvm::LineEditor::CompletionAction:
Collaboration graph
[legend]

List of all members.

Public Types

enum  ActionKind { AK_Insert, AK_ShowCompletions }

Public Attributes

ActionKind Kind
std::string Text
 The text to insert.
std::vector< std::string > Completions
 The list of completions to show.

Detailed Description

The action to perform upon a completion request.

Definition at line 48 of file LineEditor.h.


Member Enumeration Documentation

Enumerator:
AK_Insert 

Insert Text at the cursor position.

AK_ShowCompletions 

Show Completions, or beep if the list is empty.

Definition at line 49 of file LineEditor.h.


Member Data Documentation

The list of completions to show.

Definition at line 62 of file LineEditor.h.

Definition at line 56 of file LineEditor.h.

Referenced by llvm::LineEditor::getCompletionAction().

The text to insert.

Definition at line 59 of file LineEditor.h.


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