ValidateDurationLiterals ensures that duration literal arguments are valid immediately after type-check.
()
| 198 | |
| 199 | // ValidateDurationLiterals ensures that duration literal arguments are valid immediately after type-check. |
| 200 | func ValidateDurationLiterals() ASTValidator { |
| 201 | return newFormatValidator(overloads.TypeConvertDuration, 0, evalCall) |
| 202 | } |
| 203 | |
| 204 | // ValidateTimestampLiterals ensures that timestamp literal arguments are valid immediately after type-check. |
| 205 | func ValidateTimestampLiterals() ASTValidator { |