(parser)
| 8484 | this.args = { target }; |
| 8485 | } |
| 8486 | static parse(parser) { |
| 8487 | if (!parser.matchToken("empty") && !parser.matchToken("clear")) return; |
| 8488 | var target = null; |
| 8489 | if (!parser.commandBoundary(parser.currentToken())) { |
| 8490 | target = parser.requireElement("expression"); |
| 8491 | } |
| 8492 | return new _EmptyCommand(target); |
| 8493 | } |
| 8494 | resolve(ctx, { target }) { |
| 8495 | var elt = target || ctx.me; |
| 8496 | if (Array.isArray(elt)) { |
nothing calls this directly
no test coverage detected