ToConfig converts the ASTValidator to an env.Validator specifying the validator name.
()
| 341 | |
| 342 | // ToConfig converts the ASTValidator to an env.Validator specifying the validator name. |
| 343 | func (v homogeneousAggregateLiteralValidator) ToConfig() *env.Validator { |
| 344 | return env.NewValidator(v.Name()) |
| 345 | } |
| 346 | |
| 347 | // Validate validates that all lists and map literals have homogeneous types, i.e. don't contain dyn types. |
| 348 | // |
nothing calls this directly
no test coverage detected