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