(&self)
| 132 | } |
| 133 | |
| 134 | pub fn python_end_location(&self) -> Option<(usize, usize)> { |
| 135 | match self { |
| 136 | CompileError::Codegen(_) => None, |
| 137 | CompileError::Parse(parse_error) => Some(( |
| 138 | parse_error.end_location.line.get(), |
| 139 | parse_error.end_location.character_offset.get(), |
| 140 | )), |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | pub fn source_path(&self) -> &str { |
| 145 | match self { |
no test coverage detected