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

Method AsPartialActivation

interpreter/interpretable.go:2123–2130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2121}
2122
2123func (f *folder) AsPartialActivation() (PartialActivation, bool) {
2124 if f.frame.parent != nil {
2125 if _, isPartial := f.frame.parent.AsPartialActivation(); isPartial {
2126 return f, true
2127 }
2128 }
2129 return nil, false
2130}
2131
2132// evalResult computes the final result of the fold after all entries have been folded and accumulated.
2133func (f *folder) evalResult() ref.Val {

Callers

nothing calls this directly

Calls 1

AsPartialActivationMethod · 0.65

Tested by

no test coverage detected