v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
ReadLineEditor () | |
virtual Handle< String > | Prompt (const char *prompt) |
virtual bool | Open () |
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 49 of file d8-readline.cc.
|
inline |
Definition at line 51 of file d8-readline.cc.
|
virtual |
Reimplemented from LineEditor.
Definition at line 108 of file d8-readline.cc.
Referenced by ReadLineEditor::Prompt().
|
virtual |
Reimplemented from LineEditor.
Definition at line 88 of file d8-readline.cc.
References ReadLineEditor::kHistoryFileName.
|
virtual |
Reimplemented from LineEditor.
Definition at line 77 of file d8-readline.cc.
References ReadLineEditor::kHistoryFileName, and ReadLineEditor::kMaxHistoryEntries.
Implements LineEditor.
Definition at line 93 of file d8-readline.cc.
References ReadLineEditor::AddHistory(), Isolate::GetCurrent(), String::New(), and NULL.
|
static |
Definition at line 57 of file d8-readline.cc.
Referenced by ReadLineEditor::Close(), and ReadLineEditor::Open().
|
static |
Definition at line 58 of file d8-readline.cc.
Referenced by ReadLineEditor::Open().