(keyword, definition)
| 263 | } |
| 264 | |
| 265 | addCommand(keyword, definition) { |
| 266 | var commandGrammarType = keyword + "Command"; |
| 267 | this.#grammar[commandGrammarType] = definition; |
| 268 | this.#commands[keyword] = definition; |
| 269 | } |
| 270 | |
| 271 | addCommands(...commandClasses) { |
| 272 | for (const CommandClass of commandClasses) { |
no outgoing calls
no test coverage detected