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

Method push

interpreter/runtimecost.go:354–357  ·  view source on GitHub ↗
(val ref.Val, id int64)

Source from the content-addressed store, hash-verified

352type refValStack []stackVal
353
354func (s *refValStack) push(val ref.Val, id int64) {
355 value := stackVal{Val: val, ID: id}
356 *s = append(*s, value)
357}
358
359// TODO: Allowing drop and dropArgs to remove stack items above the IDs they are provided is a workaround. drop and dropArgs
360// should find and remove only the stack items matching the provided IDs once all attributes are properly pushed and popped from stack.

Callers 1

ObserveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected