(ctx any, iterRange ast.Expr, iterVar, iterVar2, accuVar string, accuInit ast.Expr, condition ast.Expr, step ast.Expr, result ast.Expr)
| 130 | } |
| 131 | |
| 132 | func (p *parserHelper) newComprehensionTwoVar(ctx any, |
| 133 | iterRange ast.Expr, |
| 134 | iterVar, iterVar2, |
| 135 | accuVar string, |
| 136 | accuInit ast.Expr, |
| 137 | condition ast.Expr, |
| 138 | step ast.Expr, |
| 139 | result ast.Expr) ast.Expr { |
| 140 | return p.exprFactory.NewComprehensionTwoVar( |
| 141 | p.newID(ctx), iterRange, iterVar, iterVar2, accuVar, accuInit, condition, step, result) |
| 142 | } |
| 143 | |
| 144 | func (p *parserHelper) newID(ctx any) int64 { |
| 145 | if id, isID := ctx.(int64); isID { |
nothing calls this directly
no test coverage detected