Name returns the name of the nesting limit validator.
()
| 402 | |
| 403 | // Name returns the name of the nesting limit validator. |
| 404 | func (v nestingLimitValidator) Name() string { |
| 405 | return nestingLimitValidatorName |
| 406 | } |
| 407 | |
| 408 | // ToConfig converts the ASTValidator to an env.Validator specifying the validator name and the nesting limit |
| 409 | // as an integer value: {"limit": int} |