(parser)
| 81 | } |
| 82 | |
| 83 | static parse(parser) { |
| 84 | if (!parser.matchToken("beep!")) return; |
| 85 | var exprs = [parser.parseElement("expression")]; |
| 86 | while (parser.matchOpToken(",")) { |
| 87 | exprs.push(parser.requireElement("expression")); |
| 88 | } |
| 89 | return new BeepCommand(exprs); |
| 90 | } |
| 91 | |
| 92 | resolve(ctx, { values }) { |
| 93 | for (let i = 0; i < this.exprs.length; i++) { |
nothing calls this directly
no test coverage detected