OffsetLocation translates a character offset to a Location, or false if the conversion was not feasible.
(offset int32)
| 45 | // OffsetLocation translates a character offset to a Location, or |
| 46 | // false if the conversion was not feasible. |
| 47 | OffsetLocation(offset int32) (Location, bool) |
| 48 | |
| 49 | // NewLocation takes an input line and column and produces a Location. |
| 50 | // The default behavior is to treat the line and column as absolute, |
no outgoing calls