(parser)
| 7996 | this.args = { target }; |
| 7997 | } |
| 7998 | static parse(parser) { |
| 7999 | if (!parser.matchToken("focus")) return; |
| 8000 | var target = null; |
| 8001 | if (!parser.commandBoundary(parser.currentToken())) { |
| 8002 | target = parser.requireElement("expression"); |
| 8003 | } |
| 8004 | return new _FocusCommand(target); |
| 8005 | } |
| 8006 | resolve(ctx, { target }) { |
| 8007 | (target || ctx.me).focus(); |
| 8008 | return this.findNext(ctx); |
nothing calls this directly
no test coverage detected