LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::LineEditor::Completion Struct Reference

A possible completion at a given cursor position. More...

#include "llvm/LineEditor/LineEditor.h"

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

Public Member Functions

 Completion ()
 
 Completion (const std::string &TypedText, const std::string &DisplayText)
 

Public Attributes

std::string TypedText
 The text to insert. More...
 
std::string DisplayText
 A description of this completion. More...
 

Detailed Description

A possible completion at a given cursor position.

Definition at line 67 of file LineEditor.h.

Constructor & Destructor Documentation

◆ Completion() [1/2]

llvm::LineEditor::Completion::Completion ( )
inline

Definition at line 68 of file LineEditor.h.

◆ Completion() [2/2]

llvm::LineEditor::Completion::Completion ( const std::string &  TypedText,
const std::string &  DisplayText 
)
inline

Definition at line 69 of file LineEditor.h.

Member Data Documentation

◆ DisplayText

std::string llvm::LineEditor::Completion::DisplayText

A description of this completion.

This may be the completion itself, or maybe a summary of its type or arguments.

Definition at line 78 of file LineEditor.h.

◆ TypedText

std::string llvm::LineEditor::Completion::TypedText

The text to insert.

If the user has already input some of the completion, this should only include the rest of the text.

Definition at line 74 of file LineEditor.h.


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