(parser)
| 3647 | this.expr = expr; |
| 3648 | } |
| 3649 | static parse(parser) { |
| 3650 | if (!parser.matchOpToken("\\")) return; |
| 3651 | var params = []; |
| 3652 | var arg1 = parser.matchTokenType("IDENTIFIER"); |
| 3653 | if (arg1) { |
| 3654 | params.push(arg1); |
| 3655 | while (parser.matchOpToken(",")) { |
| 3656 | params.push(parser.requireTokenType("IDENTIFIER")); |
| 3657 | } |
| 3658 | } |
| 3659 | parser.requireOpToken("-"); |
| 3660 | parser.requireOpToken(">"); |
| 3661 | var expr = parser.requireElement("expression"); |
| 3662 | return new _BlockLiteral(params, expr); |
| 3663 | } |
| 3664 | resolve(ctx) { |
| 3665 | var params = this.params; |
| 3666 | var expr = this.expr; |
nothing calls this directly
no test coverage detected