doc: remove parseREPLKeyword from REPL documentation

PR-URL: https://github.com/nodejs/node/pull/54749
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Aviv Keller 2024-09-22 15:08:53 -04:00 committed by GitHub
parent 2cec716c48
commit 1c61a83444
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -534,22 +534,6 @@ buffered but not yet executed. This method is primarily intended to be
called from within the action function for commands registered using the called from within the action function for commands registered using the
`replServer.defineCommand()` method. `replServer.defineCommand()` method.
### `replServer.parseREPLKeyword(keyword[, rest])`
<!-- YAML
added: v0.8.9
deprecated: v9.0.0
-->
> Stability: 0 - Deprecated.
* `keyword` {string} the potential keyword to parse and execute
* `rest` {any} any parameters to the keyword command
* Returns: {boolean}
An internal method used to parse and execute `REPLServer` keywords.
Returns `true` if `keyword` is a valid keyword, otherwise `false`.
### `replServer.setupHistory(historyPath, callback)` ### `replServer.setupHistory(historyPath, callback)`
<!-- YAML <!-- YAML