ClearOffsetRange removes the OffsetRange for the given expression id.
(id int64)
| 375 | |
| 376 | // ClearOffsetRange removes the OffsetRange for the given expression id. |
| 377 | func (s *SourceInfo) ClearOffsetRange(id int64) { |
| 378 | if s != nil { |
| 379 | delete(s.offsetRanges, id) |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | // GetStartLocation calculates the human-readable 1-based line and 0-based column of the first character |
| 384 | // of the expression node at the id. |
no outgoing calls
no test coverage detected