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

Method getCheckerOrError

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

1147
1148// getCheckerOrError gets the checker.Env or error state in a concurrency-safe manner
1149func (e *Env) getCheckerOrError() (*checker.Env, error) {
1150 e.chkMutex.Lock()
1151 defer e.chkMutex.Unlock()
1152 return e.chk, e.chkErr
1153}
1154
1155// computeUnknownVars determines a set of missing variables based on the input activation and the
1156// environment's configured declaration set.

Callers 2

ExtendMethod · 0.95
initCheckerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected