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

Method Variables

cel/env.go:671–673  ·  view source on GitHub ↗

Variables returns a shallow copy of the variables associated with the environment.

()

Source from the content-addressed store, hash-verified

669
670// Variables returns a shallow copy of the variables associated with the environment.
671func (e *Env) Variables() []*decls.VariableDecl {
672 return slices.Clone(e.variables)
673}
674
675// Macros returns a shallow copy of macros associated with the environment.
676func (e *Env) Macros() []Macro {

Callers 2

ToConfigMethod · 0.95
RenderMethod · 0.45

Calls 1

CloneMethod · 0.80

Tested by

no test coverage detected