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

Method IDs

interpreter/evalstate.go:51–59  ·  view source on GitHub ↗

IDs implements the EvalState interface method.

()

Source from the content-addressed store, hash-verified

49
50// IDs implements the EvalState interface method.
51func (s *evalState) IDs() []int64 {
52 var ids []int64
53 for k, v := range s.values {
54 if v != nil {
55 ids = append(ids, k)
56 }
57 }
58 return ids
59}
60
61// Value is an implementation of the EvalState interface method.
62func (s *evalState) Value(exprID int64) (ref.Val, bool) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected