Name returns the name of the nesting limit validator.
()
| 431 | |
| 432 | // Name returns the name of the nesting limit validator. |
| 433 | func (v nestingLimitValidator) Name() string { |
| 434 | return nestingLimitValidatorName |
| 435 | } |
| 436 | |
| 437 | // ToConfig converts the ASTValidator to an env.Validator specifying the validator name and the nesting limit |
| 438 | // as an integer value: {"limit": int} |