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

Method NewAccuIdent

common/ast/factory.go:44–44  ·  view source on GitHub ↗

NewAccuIdent creates an Expr value representing an accumulator identifier within a comprehension.

(id int64)

Source from the content-addressed store, hash-verified

42 // NewAccuIdent creates an Expr value representing an accumulator identifier within a
43 // comprehension.
44 NewAccuIdent(id int64) Expr
45
46 // AccuIdentName reports the name of the accumulator variable to be used within a comprehension.
47 AccuIdentName() string

Callers 7

TestConvertASTFunction · 0.95
TestConvertExprFunction · 0.95
TestSetKindCaseFunction · 0.95
TestComprehensionFunction · 0.95
AccuIdentMethod · 0.65

Implementers 1

baseExprFactorycommon/ast/factory.go

Calls

no outgoing calls

Tested by 6

TestConvertASTFunction · 0.76
TestConvertExprFunction · 0.76
TestSetKindCaseFunction · 0.76
TestComprehensionFunction · 0.76