Searched refs:replServer (Results 1 – 6 of 6) sorted by relevance
/third_party/node/test/parallel/ |
D | test-repl-editor.js | 27 const replServer = repl.start({ 37 replServer.write('', event); 38 replServer.close(); 86 const replServer = repl.start({ 97 assert.strictEqual(line, replServer.line); 98 assert.strictEqual(cursor, replServer.cursor); 100 replServer.write('', { ctrl: true, name: 'd' }); 101 replServer.close(); 103 assert.notStrictEqual(replServer.history[0].trim(), '');
|
D | test-repl-tab-complete-on-editor-mode.js | 8 const replServer = repl.start({ constant 15 replServer.write('.editor\n'); 18 replServer.write('a'); 19 replServer.write(null, { name: 'tab' }); // Should not throw 21 replServer.close();
|
D | test-repl-save-load.js | 127 const replServer = repl.start({ terminal: true, stream: putIn }); constant 131 replServer.write('', { ctrl: true, name: 'd' }); 134 replServer.close();
|
D | test-repl.js | 894 const [ socket, replServer ] = await startUnixRepl(); 898 replServer.replMode = repl.REPL_MODE_STRICT; 960 const replServer = repl.start({ 966 replServer.context.message = message; 967 resolveReplServer(replServer);
|
/third_party/node/test/pseudo-tty/ |
D | repl-dumb-tty.js | 15 const replServer = new repl.REPLServer({ constant 23 replServer.on('close', common.mustCall()); 25 replServer.write(null, { ctrl: true, name: 'r' }); 26 replServer.write(null, { ctrl: true, name: 's' }); 27 replServer.write(null, { ctrl: true, name: 'd' });
|
/third_party/node/doc/api/ |
D | repl.md | 406 replServer.on('exit', () => { 458 ### `replServer.defineCommand(keyword, cmd)` 467 The `replServer.defineCommand()` method is used to add new `.`-prefixed commands 481 const replServer = repl.start({ prompt: '> ' }); 482 replServer.defineCommand('sayhello', { 490 replServer.defineCommand('saybye', function saybye() { 505 ### `replServer.displayPrompt([preserveCursor])` 513 The `replServer.displayPrompt()` method readies the REPL instance for input 522 The `replServer.displayPrompt` method is primarily intended to be called from 524 `replServer.defineCommand()` method. [all …]
|