ClearOffsetRange removes the OffsetRange for the given expression id.
(id int64)
| 367 | |
| 368 | // ClearOffsetRange removes the OffsetRange for the given expression id. |
| 369 | func (s *SourceInfo) ClearOffsetRange(id int64) { |
| 370 | if s != nil { |
| 371 | delete(s.offsetRanges, id) |
| 372 | } |
| 373 | } |
| 374 | |
| 375 | // GetStartLocation calculates the human-readable 1-based line and 0-based column of the first character |
| 376 | // of the expression node at the id. |
no outgoing calls
no test coverage detected