(parser)
| 3925 | this.expr = expr; |
| 3926 | } |
| 3927 | static parse(parser) { |
| 3928 | if (!parser.matchOpToken("\\")) return; |
| 3929 | var params = []; |
| 3930 | var arg1 = parser.matchTokenType("IDENTIFIER"); |
| 3931 | if (arg1) { |
| 3932 | params.push(arg1); |
| 3933 | while (parser.matchOpToken(",")) { |
| 3934 | params.push(parser.requireTokenType("IDENTIFIER")); |
| 3935 | } |
| 3936 | } |
| 3937 | parser.requireOpToken("-"); |
| 3938 | parser.requireOpToken(">"); |
| 3939 | var expr = parser.requireElement("expression"); |
| 3940 | return new _BlockLiteral(params, expr); |
| 3941 | } |
| 3942 | resolve(ctx) { |
| 3943 | var params = this.params; |
| 3944 | var expr = this.expr; |
nothing calls this directly
no test coverage detected