![]() |
v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <d8.h>

Public Types | |
| enum | Type { DUMB = 0, READLINE = 1 } |
Public Member Functions | |
| LineEditor (Type type, const char *name) | |
| virtual | ~LineEditor () |
| virtual Handle< String > | Prompt (const char *prompt)=0 |
| virtual bool | Open () |
| virtual bool | Close () |
| virtual void | AddHistory (const char *str) |
| const char * | name () |
Static Public Member Functions | |
| static LineEditor * | Get () |
| LineEditor | ( | Type | type, |
| const char * | name | ||
| ) |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in ReadLineEditor.
|
inlinevirtual |
Reimplemented in ReadLineEditor.
Definition at line 127 of file d8.h.
Referenced by Shell::OnExit().
|
static |
|
inlinevirtual |
Reimplemented in ReadLineEditor.
Implemented in DumbLineEditor, and ReadLineEditor.