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

Function newFormatValidator

cel/validator.go:265–271  ·  view source on GitHub ↗
(funcName string, argNum int, check argChecker)

Source from the content-addressed store, hash-verified

263type argChecker func(env *Env, call, arg ast.Expr) error
264
265func newFormatValidator(funcName string, argNum int, check argChecker) formatValidator {
266 return formatValidator{
267 funcName: funcName,
268 check: check,
269 argNum: argNum,
270 }
271}
272
273type formatValidator struct {
274 funcName string

Callers 3

ValidateDurationLiteralsFunction · 0.85
ValidateRegexLiteralsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected