MCPcopy Create free account
hub / github.com/cel-expr/cel-go / NewComprehensionTwoVar

Method NewComprehensionTwoVar

parser/helper.go:491–502  ·  view source on GitHub ↗

NewComprehensionTwoVar implements the ExprHelper interface method.

(
	iterRange ast.Expr,
	iterVar,
	iterVar2,
	accuVar string,
	accuInit,
	condition,
	step,
	result ast.Expr)

Source from the content-addressed store, hash-verified

489
490// NewComprehensionTwoVar implements the ExprHelper interface method.
491func (e *exprHelper) NewComprehensionTwoVar(
492 iterRange ast.Expr,
493 iterVar,
494 iterVar2,
495 accuVar string,
496 accuInit,
497 condition,
498 step,
499 result ast.Expr) ast.Expr {
500 return e.exprFactory.NewComprehensionTwoVar(
501 e.nextMacroID(), iterRange, iterVar, iterVar2, accuVar, accuInit, condition, step, result)
502}
503
504// NewIdent implements the ExprHelper interface method.
505func (e *exprHelper) NewIdent(name string) ast.Expr {

Callers

nothing calls this directly

Calls 2

nextMacroIDMethod · 0.95

Tested by

no test coverage detected