![]() |
v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|


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 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 |
Additional Inherited Members | |
Public Types inherited from LineEditor | |
| enum | Type { DUMB = 0, READLINE = 1 } |
Static Public Member Functions inherited from LineEditor | |
| static LineEditor * | Get () |
Definition at line 48 of file d8-readline.cc.
|
inline |
Definition at line 50 of file d8-readline.cc.
|
virtual |
Reimplemented from LineEditor.
Definition at line 118 of file d8-readline.cc.
Referenced by ReadLineEditor::Prompt().
|
virtual |
Reimplemented from LineEditor.
Definition at line 101 of file d8-readline.cc.
References ReadLineEditor::kHistoryFileName.
|
virtual |
Reimplemented from LineEditor.
Definition at line 80 of file d8-readline.cc.
References ReadLineEditor::kHistoryFileName, and ReadLineEditor::kMaxHistoryEntries.
Implements LineEditor.
Definition at line 106 of file d8-readline.cc.
References ReadLineEditor::AddHistory(), Isolate::GetCurrent(), String::NewFromUtf8(), and NULL.
|
static |
Definition at line 56 of file d8-readline.cc.
Referenced by ReadLineEditor::Close(), and ReadLineEditor::Open().
|
static |
Definition at line 57 of file d8-readline.cc.
Referenced by ReadLineEditor::Open().