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

Method create

interpreter/frame.go:219–225  ·  view source on GitHub ↗
(parent, child Activation)

Source from the content-addressed store, hash-verified

217}
218
219func (pool *activationStackPool) create(parent, child Activation) Activation {
220 h := pool.Get().(*hierarchicalActivation)
221 h.child = child
222 h.parent = parent
223 h.poolAllocated = true
224 return h
225}
226
227func (pool *activationStackPool) release(activation Activation) {
228 h, ok := activation.(*hierarchicalActivation)

Callers 2

NewExecutionFrameFunction · 0.45
PushMethod · 0.45

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected