| 211 | } } |
| 212 | |
| 213 | class dasException final : public std::exception { |
| 214 | public: |
| 215 | dasException ( const char * why, const LineInfo & at ) |
| 216 | : exceptionAt(at), exceptionWhat(why ? why : "") {} |
| 217 | virtual char const* what() const noexcept override { |
| 218 | return exceptionWhat.empty() ? "unknown exception" : exceptionWhat.c_str(); |
| 219 | } |
| 220 | public: |
| 221 | LineInfo exceptionAt; |
| 222 | das::string exceptionWhat; |
| 223 | }; |
| 224 | |
| 225 | struct DAS_API SimVisitor { |
| 226 | virtual void preVisit ( SimNode * ) { } |
no outgoing calls
no test coverage detected