| 78 | } |
| 79 | |
| 80 | Error getError(std::string const& _source) |
| 81 | { |
| 82 | ErrorList errors; |
| 83 | try |
| 84 | { |
| 85 | parseText(_source, errors); |
| 86 | } |
| 87 | catch (FatalError const& /*_exception*/) |
| 88 | { |
| 89 | // no-op |
| 90 | } |
| 91 | Error const* error = Error::containsErrorOfType(errors, Error::Type::ParserError); |
| 92 | BOOST_REQUIRE(error); |
| 93 | return *error; |
| 94 | } |
| 95 | |
| 96 | void checkFunctionNatspec( |
| 97 | FunctionDefinition const* _function, |
nothing calls this directly
no test coverage detected