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

Method getCheckerOrError

cel/env.go:937–941  ·  view source on GitHub ↗

getCheckerOrError gets the checker.Env or error state in a concurrency-safe manner

()

Source from the content-addressed store, hash-verified

935
936// getCheckerOrError gets the checker.Env or error state in a concurrency-safe manner
937func (e *Env) getCheckerOrError() (*checker.Env, error) {
938 e.chkMutex.Lock()
939 defer e.chkMutex.Unlock()
940 return e.chk, e.chkErr
941}
942
943// computeUnknownVars determines a set of missing variables based on the input activation and the
944// environment's configured declaration set.

Callers 2

ExtendMethod · 0.95
initCheckerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected