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

Function newFormatValidator

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

Source from the content-addressed store, hash-verified

273type argChecker func(env *Env, call, arg ast.Expr) error
274
275func newFormatValidator(funcName string, argNum int, check argChecker) formatValidator {
276 return formatValidator{
277 funcName: funcName,
278 check: check,
279 argNum: argNum,
280 }
281}
282
283type formatValidator struct {
284 funcName string

Callers 3

ValidateDurationLiteralsFunction · 0.85
ValidateRegexLiteralsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected