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

Method getCheckerOrError

cel/env.go:1027–1031  ·  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

1025
1026// getCheckerOrError gets the checker.Env or error state in a concurrency-safe manner
1027func (e *Env) getCheckerOrError() (*checker.Env, error) {
1028 e.chkMutex.Lock()
1029 defer e.chkMutex.Unlock()
1030 return e.chk, e.chkErr
1031}
1032
1033// computeUnknownVars determines a set of missing variables based on the input activation and the
1034// environment's configured declaration set.

Callers 2

ExtendMethod · 0.95
initCheckerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected