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

Struct countingActivation

cel/cel_test.go:6672–6675  ·  view source on GitHub ↗

countingActivation sits at the root of an activation chain and records how many times function resolution reaches it. It never supplies a binding, so every lookup traverses the full chain.

Source from the content-addressed store, hash-verified

6670// countingActivation sits at the root of an activation chain and records how many times function
6671// resolution reaches it. It never supplies a binding, so every lookup traverses the full chain.
6672type countingActivation struct {
6673 Activation
6674 calls int
6675}
6676
6677func (a *countingActivation) ResolveFunction(name string) (LateBoundFunction, bool) {
6678 a.calls++

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected