ToConfig converts the ASTValidator to an env.Validator specifying the validator name.
()
| 303 | |
| 304 | // ToConfig converts the ASTValidator to an env.Validator specifying the validator name. |
| 305 | func (v homogeneousAggregateLiteralValidator) ToConfig() *env.Validator { |
| 306 | return env.NewValidator(v.Name()) |
| 307 | } |
| 308 | |
| 309 | // Validate validates that all lists and map literals have homogeneous types, i.e. don't contain dyn types. |
| 310 | // |
nothing calls this directly
no test coverage detected