ToConfig converts the ASTValidator to an env.Validator specifying the validator name.
()
| 332 | |
| 333 | // ToConfig converts the ASTValidator to an env.Validator specifying the validator name. |
| 334 | func (v homogeneousAggregateLiteralValidator) ToConfig() *env.Validator { |
| 335 | return env.NewValidator(v.Name()) |
| 336 | } |
| 337 | |
| 338 | // Validate validates that all lists and map literals have homogeneous types, i.e. don't contain dyn types. |
| 339 | // |
nothing calls this directly
no test coverage detected