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