NewComprehension implements the ExprHelper interface method.
( iterRange ast.Expr, iterVar string, accuVar string, accuInit ast.Expr, condition ast.Expr, step ast.Expr, result ast.Expr)
| 439 | |
| 440 | // NewComprehension implements the ExprHelper interface method. |
| 441 | func (e *exprHelper) NewComprehension( |
| 442 | iterRange ast.Expr, |
| 443 | iterVar string, |
| 444 | accuVar string, |
| 445 | accuInit ast.Expr, |
| 446 | condition ast.Expr, |
| 447 | step ast.Expr, |
| 448 | result ast.Expr) ast.Expr { |
| 449 | return e.exprFactory.NewComprehension( |
| 450 | e.nextMacroID(), iterRange, iterVar, accuVar, accuInit, condition, step, result) |
| 451 | } |
| 452 | |
| 453 | // NewComprehensionTwoVar implements the ExprHelper interface method. |
| 454 | func (e *exprHelper) NewComprehensionTwoVar( |
nothing calls this directly
no test coverage detected