(parser)
| 8034 | this.args = { target }; |
| 8035 | } |
| 8036 | static parse(parser) { |
| 8037 | if (!parser.matchToken("empty") && !parser.matchToken("clear")) return; |
| 8038 | var target = null; |
| 8039 | if (!parser.commandBoundary(parser.currentToken())) { |
| 8040 | target = parser.requireElement("expression"); |
| 8041 | } |
| 8042 | return new _EmptyCommand(target); |
| 8043 | } |
| 8044 | resolve(ctx, { target }) { |
| 8045 | var elt = target || ctx.me; |
| 8046 | if (Array.isArray(elt)) { |
nothing calls this directly
no test coverage detected