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

Function newFormatValidator

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

Source from the content-addressed store, hash-verified

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

Callers 3

ValidateDurationLiteralsFunction · 0.85
ValidateRegexLiteralsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected