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

Method Functions

cel/env.go:666–668  ·  view source on GitHub ↗

Functions returns a shallow copy of the Functions, keyed by function name, that have been configured in the environment.

()

Source from the content-addressed store, hash-verified

664
665// Functions returns a shallow copy of the Functions, keyed by function name, that have been configured in the environment.
666func (e *Env) Functions() map[string]*decls.FunctionDecl {
667 return maps.Clone(e.functions)
668}
669
670// Variables returns a shallow copy of the variables associated with the environment.
671func (e *Env) Variables() []*decls.VariableDecl {

Callers 5

ToConfigMethod · 0.95
TestFunctionsFunction · 0.95
TestFunctionsForVersionsFunction · 0.80
RenderMethod · 0.80
isLateBoundFunctionCallFunction · 0.80

Calls 1

CloneMethod · 0.80

Tested by 2

TestFunctionsFunction · 0.76
TestFunctionsForVersionsFunction · 0.64