| 52 | std::string const sourceDelimiter("==== Source: "); |
| 53 | |
| 54 | std::string compilerStateToString(CompilerStack::State _state) |
| 55 | { |
| 56 | switch (_state) |
| 57 | { |
| 58 | case CompilerStack::State::Empty: return "Empty"; |
| 59 | case CompilerStack::State::SourcesSet: return "SourcesSet"; |
| 60 | case CompilerStack::State::Parsed: return "Parsed"; |
| 61 | case CompilerStack::State::ParsedAndImported: return "ParsedAndImported"; |
| 62 | case CompilerStack::State::AnalysisSuccessful: return "AnalysisSuccessful"; |
| 63 | case CompilerStack::State::CompilationSuccessful: return "CompilationSuccessful"; |
| 64 | } |
| 65 | soltestAssert(false, "Unexpected value of state parameter"); |
| 66 | } |
| 67 | |
| 68 | CompilerStack::State stringToCompilerState(const std::string& _state) |
| 69 | { |
no outgoing calls
no test coverage detected