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