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

Function newFormatValidator

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

Source from the content-addressed store, hash-verified

235type argChecker func(env *Env, call, arg ast.Expr) error
236
237func newFormatValidator(funcName string, argNum int, check argChecker) formatValidator {
238 return formatValidator{
239 funcName: funcName,
240 check: check,
241 argNum: argNum,
242 }
243}
244
245type formatValidator struct {
246 funcName string

Callers 3

ValidateDurationLiteralsFunction · 0.85
ValidateRegexLiteralsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected