(self, source_path: String)
| 244 | |
| 245 | impl SymbolTableError { |
| 246 | pub fn into_codegen_error(self, source_path: String) -> CodegenError { |
| 247 | CodegenError { |
| 248 | location: self.location, |
| 249 | error: CodegenErrorType::SyntaxError(self.error), |
| 250 | source_path, |
| 251 | } |
| 252 | } |
| 253 | } |
| 254 | |
| 255 | type SymbolTableResult<T = ()> = Result<T, SymbolTableError>; |
no outgoing calls
no test coverage detected