(parser)
| 8446 | this.args = { target }; |
| 8447 | } |
| 8448 | static parse(parser) { |
| 8449 | if (!parser.matchToken("focus")) return; |
| 8450 | var target = null; |
| 8451 | if (!parser.commandBoundary(parser.currentToken())) { |
| 8452 | target = parser.requireElement("expression"); |
| 8453 | } |
| 8454 | return new _FocusCommand(target); |
| 8455 | } |
| 8456 | resolve(ctx, { target }) { |
| 8457 | (target || ctx.me).focus(); |
| 8458 | return this.findNext(ctx); |
nothing calls this directly
no test coverage detected