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

Method Env

policy/compiler.go:229–231  ·  view source on GitHub ↗

Env returns the current environment available to the match expression being compiled.

()

Source from the content-addressed store, hash-verified

227
228// Env returns the current environment available to the match expression being compiled.
229func (mc *matchCompilerImpl) Env() *cel.Env {
230 return mc.env
231}
232
233// RelSource exposes the compiler's relative source function.
234func (mc *matchCompilerImpl) RelSource(pstr ValueString) *RelativeSource {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected