|
V8 Project
|
Inheritance diagram for v8::ReadLineEditor:
Collaboration diagram for v8::ReadLineEditor:Public Member Functions | |
| ReadLineEditor () | |
| virtual Handle< String > | Prompt (const char *prompt) |
| virtual bool | Open (Isolate *isolate) |
| virtual bool | Close () |
| virtual void | AddHistory (const char *str) |
Public Member Functions inherited from v8::LineEditor | |
| LineEditor (Type type, const char *name) | |
| virtual | ~LineEditor () |
| const char * | name () |
Static Public Attributes | |
| static const char * | kHistoryFileName = ".d8_history" |
| static const int | kMaxHistoryEntries = 1000 |
Static Private Member Functions | |
| static char ** | AttemptedCompletion (const char *text, int start, int end) |
| static char * | CompletionGenerator (const char *text, int state) |
Private Attributes | |
| Isolate * | isolate_ |
Static Private Attributes | |
| static char | kWordBreakCharacters [] |
Additional Inherited Members | |
Public Types inherited from v8::LineEditor | |
| enum | Type { DUMB = 0 , READLINE = 1 } |
Static Public Member Functions inherited from v8::LineEditor | |
| static LineEditor * | Get () |
Definition at line 25 of file d8-readline.cc.
|
inline |
Definition at line 27 of file d8-readline.cc.
|
virtual |
Reimplemented from v8::LineEditor.
Definition at line 92 of file d8-readline.cc.
Referenced by Prompt().
Here is the caller graph for this function:
|
staticprivate |
Definition at line 110 of file d8-readline.cc.
References CompletionGenerator().
Referenced by Open().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from v8::LineEditor.
Definition at line 78 of file d8-readline.cc.
References kHistoryFileName.
|
staticprivate |
Definition at line 119 of file d8-readline.cc.
References v8::Shell::GetCompletions(), isolate_, v8::String::kNormalString, v8::Local< T >::New(), v8::Integer::New(), v8::String::NewFromUtf8(), NULL, v8::read_line_editor, and v8::PersistentBase< T >::Reset().
Referenced by AttemptedCompletion().
Here is the call graph for this function:
Here is the caller graph for this function:Reimplemented from v8::LineEditor.
Definition at line 57 of file d8-readline.cc.
References AttemptedCompletion(), isolate_, kHistoryFileName, kMaxHistoryEntries, and kWordBreakCharacters.
Here is the call graph for this function:Implements v8::LineEditor.
Definition at line 83 of file d8-readline.cc.
References AddHistory(), isolate_, v8::String::NewFromUtf8(), and NULL.
Here is the call graph for this function:
|
private |
Definition at line 43 of file d8-readline.cc.
Referenced by CompletionGenerator(), Open(), and Prompt().
|
static |
Definition at line 33 of file d8-readline.cc.
|
static |
Definition at line 34 of file d8-readline.cc.
Referenced by Open().
|
staticprivate |
Definition at line 41 of file d8-readline.cc.
Referenced by Open().