replServer.parseREPLKeyword(keyword[, rest])
稳定性: 0 - 已弃用。
¥Stability: 0 - Deprecated.
-
keyword
<string> 要解析和执行的潜在关键字¥
keyword
<string> the potential keyword to parse and execute -
rest
<any> 关键字命令的任何参数¥
rest
<any> any parameters to the keyword command -
返回:<boolean>
¥Returns: <boolean>
用于解析和执行 REPLServer
个关键字的内部方法。如果 keyword
是有效关键字,则返回 true
,否则返回 false
。
¥An internal method used to parse and execute REPLServer
keywords.
Returns true
if keyword
is a valid keyword, otherwise false
.