(&self)
| 106 | |
| 107 | impl PySourceLocation { |
| 108 | const fn to_source_location(&self) -> SourceLocation { |
| 109 | SourceLocation { |
| 110 | line: self.row.get_one_indexed(), |
| 111 | character_offset: self.column.get_one_indexed(), |
| 112 | } |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | /// A one-based index into the lines. |
no test coverage detected