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

Function getMacroKeys

cel/optimizer_test.go:314–321  ·  view source on GitHub ↗
(macroCalls map[int64]ast.Expr)

Source from the content-addressed store, hash-verified

312}
313
314func getMacroKeys(macroCalls map[int64]ast.Expr) []int {
315 keys := []int{}
316 for k := range macroCalls {
317 keys = append(keys, int(k))
318 }
319 sort.Ints(keys)
320 return keys
321}
322
323func optimizerEnv(t *testing.T) *cel.Env {
324 t.Helper()

Callers 1

OptimizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected