ErrorInvalidIdentifier creates an error for an invalid identifier. This is used when an identifier has invalid syntax, such as: - Starting with a digit (when not quoted) - Containing invalid characters - Unterminated quoted identifier Parameters: - value: The invalid identifier string - location:
(value string, location models.Location)
| 130 | // |
| 131 | // Example: "invalid identifier: 123abc at line 2, column 8" |
| 132 | func ErrorInvalidIdentifier(value string, location models.Location) *Error { |
| 133 | return NewError(fmt.Sprintf("invalid identifier: %s", value), location) |
| 134 | } |
| 135 | |
| 136 | // ErrorInvalidOperator creates an error for an invalid operator. |
| 137 | // |