A class that handles the error messages. More...
#include <qmuparsererror.h>
Public Types | |
typedef QmuParserErrorMsg | self_type |
Public Member Functions | |
QmuParserErrorMsg () | |
~QmuParserErrorMsg () | |
QString | operator[] (int a_iIdx) const |
Static Public Member Functions | |
static const QmuParserErrorMsg & | Instance () |
Private Attributes | |
QMap< int, QmuTranslation > | m_vErrMsg |
A map with the predefined error messages. More... | |
Static Private Attributes | |
static const self_type | m_Instance |
The instance pointer. More... | |
A class that handles the error messages.
Definition at line 100 of file qmuparsererror.h.
Definition at line 103 of file qmuparsererror.h.
qmu::QmuParserErrorMsg::QmuParserErrorMsg | ( | ) |
Definition at line 39 of file qmuparsererror.cpp.
References qmu::ecBUILTIN_OVERLOAD, qmu::ecDIV_BY_ZERO, qmu::ecDOMAIN_ERROR, qmu::ecEMPTY_EXPRESSION, qmu::ecGENERIC, qmu::ecINTERNAL_ERROR, qmu::ecINVALID_BINOP_IDENT, qmu::ecINVALID_FUN_PTR, qmu::ecINVALID_INFIX_IDENT, qmu::ecINVALID_NAME, qmu::ecINVALID_POSTFIX_IDENT, qmu::ecINVALID_VAR_PTR, qmu::ecLOCALE, qmu::ecMISPLACED_COLON, qmu::ecMISSING_ELSE_CLAUSE, qmu::ecMISSING_PARENS, qmu::ecNAME_CONFLICT, qmu::ecOPRT_TYPE_CONFLICT, qmu::ecOPT_PRI, qmu::ecSTR_RESULT, qmu::ecSTRING_EXPECTED, qmu::ecTOO_FEW_PARAMS, qmu::ecTOO_MANY_PARAMS, qmu::ecUNASSIGNABLE_TOKEN, qmu::ecUNEXPECTED_ARG, qmu::ecUNEXPECTED_ARG_SEP, qmu::ecUNEXPECTED_CONDITIONAL, qmu::ecUNEXPECTED_EOF, qmu::ecUNEXPECTED_FUN, qmu::ecUNEXPECTED_OPERATOR, qmu::ecUNEXPECTED_PARENS, qmu::ecUNEXPECTED_STR, qmu::ecUNEXPECTED_VAL, qmu::ecUNEXPECTED_VAR, qmu::ecUNTERMINATED_STRING, qmu::ecVAL_EXPECTED, m_vErrMsg, and translate.
qmu::QmuParserErrorMsg::~QmuParserErrorMsg | ( | ) |
Definition at line 33 of file qmuparsererror.cpp.
|
inlinestatic |
Definition at line 119 of file qmuparsererror.h.
References m_Instance.
|
inline |
Definition at line 125 of file qmuparsererror.h.
References m_vErrMsg.
|
staticprivate |
|
private |
A map with the predefined error messages.
Definition at line 113 of file qmuparsererror.h.
Referenced by operator[](), and QmuParserErrorMsg().