| 
    Cppcheck
    
   | 
 
Simple container to be thrown when internal error is detected. More...
#include <errortypes.h>
Public Types | |
| enum | Type {  AST , SYNTAX , UNKNOWN_MACRO , INTERNAL , LIMIT , INSTANTIATION }  | 
Public Member Functions | |
| InternalError (const Token *tok, std::string errorMsg, Type type=INTERNAL) | |
| InternalError (const Token *tok, std::string errorMsg, std::string details, Type type=INTERNAL) | |
Public Attributes | |
| const Token * | token | 
| std::string | errorMessage | 
| std::string | details | 
| Type | type | 
| std::string | id | 
Simple container to be thrown when internal error is detected.
Definition at line 36 of file errortypes.h.
| enum InternalError::Type | 
| Enumerator | |
|---|---|
| AST | |
| SYNTAX | |
| UNKNOWN_MACRO | |
| INTERNAL | |
| LIMIT | |
| INSTANTIATION | |
Definition at line 37 of file errortypes.h.
Definition at line 42 of file errortypes.cpp.
| InternalError::InternalError | ( | const Token * | tok, | 
| std::string | errorMsg, | ||
| std::string | details, | ||
| Type | type = INTERNAL  | 
        ||
| ) | 
Definition at line 46 of file errortypes.cpp.
| std::string InternalError::details | 
Definition at line 44 of file errortypes.h.
Referenced by ErrorMessage::fromInternalError().
| std::string InternalError::errorMessage | 
Definition at line 43 of file errortypes.h.
Referenced by MainWindow::analyzeProject(), ErrorMessage::fromInternalError(), ProcessExecutor::handleRead(), main(), and ComplianceReportDialog::save().
| std::string InternalError::id | 
Definition at line 46 of file errortypes.h.
Referenced by ErrorMessage::fromInternalError().
| const Token* InternalError::token | 
Definition at line 42 of file errortypes.h.
Referenced by ErrorMessage::fromInternalError(), and TemplateSimplifier::simplifyNumericCalculations().
| Type InternalError::type | 
Definition at line 45 of file errortypes.h.