OffsetLocation implements the ExprHelper interface method.
(exprID int64)
| 501 | |
| 502 | // OffsetLocation implements the ExprHelper interface method. |
| 503 | func (e *exprHelper) OffsetLocation(exprID int64) common.Location { |
| 504 | return e.parserHelper.sourceInfo.GetStartLocation(exprID) |
| 505 | } |
| 506 | |
| 507 | // NewError associates an error message with a given expression id, populating the source offset location of the error if possible. |
| 508 | func (e *exprHelper) NewError(exprID int64, message string) *common.Error { |
no test coverage detected