SetOffsetRange sets the OffsetRange for the given expression id.
(id int64, o OffsetRange)
| 359 | |
| 360 | // SetOffsetRange sets the OffsetRange for the given expression id. |
| 361 | func (s *SourceInfo) SetOffsetRange(id int64, o OffsetRange) { |
| 362 | if s == nil { |
| 363 | return |
| 364 | } |
| 365 | s.offsetRanges[id] = o |
| 366 | } |
| 367 | |
| 368 | // ClearOffsetRange removes the OffsetRange for the given expression id. |
| 369 | func (s *SourceInfo) ClearOffsetRange(id int64) { |
no outgoing calls