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