()
| 249 | } |
| 250 | |
| 251 | func (r *Range) String() string { |
| 252 | out := "" |
| 253 | if r.StartLine != 0 { |
| 254 | out = fmt.Sprintf("%d", r.StartLine) |
| 255 | } |
| 256 | if r.StartColumn != 0 { |
| 257 | out = fmt.Sprintf("%s+%d", out, r.StartColumn) |
| 258 | } |
| 259 | if r.EndLine != 0 { |
| 260 | out = fmt.Sprintf("%s:%d", out, r.EndLine) |
| 261 | } |
| 262 | if r.EndColumn != 0 { |
| 263 | out = fmt.Sprintf("%s+%d", out, r.EndColumn) |
| 264 | } |
| 265 | return out |
| 266 | } |
no outgoing calls
no test coverage detected