(parser)
| 8691 | this.args = { target }; |
| 8692 | } |
| 8693 | static parse(parser) { |
| 8694 | if (!parser.matchToken("select")) return; |
| 8695 | var target = null; |
| 8696 | if (!parser.commandBoundary(parser.currentToken())) { |
| 8697 | target = parser.requireElement("expression"); |
| 8698 | } |
| 8699 | return new _SelectCommand(target); |
| 8700 | } |
| 8701 | resolve(ctx, { target }) { |
| 8702 | var elt = target || ctx.me; |
| 8703 | if (typeof elt.select === "function") elt.select(); |
nothing calls this directly
no test coverage detected