| 35 | impl Error for ParserError {} |
| 36 | |
| 37 | pub trait AstLanguageParser: Send { |
| 38 | fn parse(&mut self, code: &str, path: &PathBuf) -> Vec<AstSymbolInstanceArc>; |
| 39 | } |
| 40 | |
| 41 | fn internal_error<E: Display>(err: E) -> ParserError { |
| 42 | let err_msg = err.to_string(); |
nothing calls this directly
no outgoing calls
no test coverage detected