(keyword, definition)
| 1556 | this.#grammar[name] = definition; |
| 1557 | } |
| 1558 | addCommand(keyword, definition) { |
| 1559 | var commandGrammarType = keyword + "Command"; |
| 1560 | this.#grammar[commandGrammarType] = definition; |
| 1561 | this.#commands[keyword] = definition; |
| 1562 | } |
| 1563 | addCommands(...commandClasses) { |
| 1564 | for (const CommandClass of commandClasses) { |
| 1565 | if (!CommandClass.keyword) { |
no outgoing calls
no test coverage detected