LLVM  6.0.0svn
Public Types | Public Attributes | List of all members
llvm::LineEditor::CompletionAction Struct Reference

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

#include "llvm/LineEditor/LineEditor.h"

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

Public Types

enum  ActionKind { AK_Insert, AK_ShowCompletions }
 

Public Attributes

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

Detailed Description

The action to perform upon a completion request.

Definition at line 49 of file LineEditor.h.

Member Enumeration Documentation

◆ ActionKind

Enumerator
AK_Insert 

Insert Text at the cursor position.

AK_ShowCompletions 

Show Completions, or beep if the list is empty.

Definition at line 50 of file LineEditor.h.

Member Data Documentation

◆ Completions

std::vector<std::string> llvm::LineEditor::CompletionAction::Completions

The list of completions to show.

Definition at line 63 of file LineEditor.h.

Referenced by llvm::LineEditor::getCompletionAction(), and llvm::LineEditor::getDefaultHistoryPath().

◆ Kind

ActionKind llvm::LineEditor::CompletionAction::Kind

◆ Text

std::string llvm::LineEditor::CompletionAction::Text

The text to insert.

Definition at line 60 of file LineEditor.h.

Referenced by llvm::LineEditor::getCompletionAction(), and llvm::LineEditor::getDefaultHistoryPath().


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