SetOffsetRange sets the OffsetRange for the given expression id.
(id int64, o OffsetRange)
| 367 | |
| 368 | // SetOffsetRange sets the OffsetRange for the given expression id. |
| 369 | func (s *SourceInfo) SetOffsetRange(id int64, o OffsetRange) { |
| 370 | if s == nil { |
| 371 | return |
| 372 | } |
| 373 | s.offsetRanges[id] = o |
| 374 | } |
| 375 | |
| 376 | // ClearOffsetRange removes the OffsetRange for the given expression id. |
| 377 | func (s *SourceInfo) ClearOffsetRange(id int64) { |
no outgoing calls