Content returns the embedded source snippet.
()
| 54 | |
| 55 | // Content returns the embedded source snippet. |
| 56 | func (rel *RelativeSource) Content() string { |
| 57 | return rel.localSrc.Content() |
| 58 | } |
| 59 | |
| 60 | // OffsetLocation returns the absolute location given the relative offset, if found. |
| 61 | func (rel *RelativeSource) OffsetLocation(offset int32) (common.Location, bool) { |