(parser)
| 8241 | this.args = { target }; |
| 8242 | } |
| 8243 | static parse(parser) { |
| 8244 | if (!parser.matchToken("select")) return; |
| 8245 | var target = null; |
| 8246 | if (!parser.commandBoundary(parser.currentToken())) { |
| 8247 | target = parser.requireElement("expression"); |
| 8248 | } |
| 8249 | return new _SelectCommand(target); |
| 8250 | } |
| 8251 | resolve(ctx, { target }) { |
| 8252 | var elt = target || ctx.me; |
| 8253 | if (typeof elt.select === "function") elt.select(); |
nothing calls this directly
no test coverage detected