|
Eneboo - Documentación para desarrolladores
|
#include <qscheck.h>
| QSCheckData::QSCheckData | ( | QSEnv * | e, |
| QSGlobalClass * | g = 0 |
||
| ) |
| QSCheckData::~QSCheckData | ( | ) |
| void QSCheckData::addError | ( | const QSNode * | node, |
| QSErrorCode | code, | ||
| const QString & | msg | ||
| ) |
| void QSCheckData::addWarning | ( | const QSNode * | node, |
| QSErrorCode | code, | ||
| const QString & | msg | ||
| ) |
| bool QSCheckData::canReturn | ( | ) | const |
Can we have a return statement at this point, i.e. are we inside a function ?
| void QSCheckData::clearLabel | ( | ) |
| QSClass * QSCheckData::currentClass | ( | ) | const |
Returns the current class if the scope stack top is a class. 0 otherwise
| QSFunctionScopeClass * QSCheckData::currentFunction | ( | ) | const |
Returns the current function if the scope stack top is a function. 0 otherwise.
| QString QSCheckData::currentLabel | ( | ) | const |
| QSClass * QSCheckData::currentScope | ( | ) | const |
Returns the class representing the current scope. 0 if there are no objects on the scope stack
| bool QSCheckData::directLookupEnabled | ( | ) | [inline] |
| void QSCheckData::enterBlock | ( | QSBlockScopeClass * | cl | ) |
| void QSCheckData::enterClass | ( | QSClass * | c | ) |
| void QSCheckData::enterEval | ( | QSEvalScopeClass * | c | ) | [inline] |
| void QSCheckData::enterFunction | ( | QSFunctionScopeClass * | c | ) |
| void QSCheckData::enterLoop | ( | const QString & | label = QString::null | ) |
| void QSCheckData::enterPackage | ( | const QString & | name | ) |
| void QSCheckData::enterSwitch | ( | ) |
| QSEnv* QSCheckData::env | ( | ) | const [inline] |
| QSErrorCode QSCheckData::errorCode | ( | ) | const [inline] |
| QValueList< uint > QSCheckData::errorLines | ( | ) | const [inline] |
| QStringList QSCheckData::errorMessages | ( | ) | const [inline] |
| bool QSCheckData::globalStatementsForbidden | ( | ) | const [inline] |
| bool QSCheckData::hasError | ( | ) | const [inline] |
| bool QSCheckData::inClass | ( | ) | const [inline] |
| bool QSCheckData::inFunction | ( | ) | const [inline] |
| bool QSCheckData::inGlobal | ( | ) | const |
| bool QSCheckData::inLoop | ( | ) | const [inline] |
| QSClass * QSCheckData::innermostClass | ( | ) | const |
Returns a pointer to the innermost class based on the current position in the scope. For global scope the global class is returned.
| bool QSCheckData::inPackage | ( | ) | const [inline] |
| bool QSCheckData::inSwitch | ( | ) | const [inline] |
| int QSCheckData::lastAttributes | ( | ) | const [inline] |
| QSClass* QSCheckData::lastType | ( | ) | const [inline] |
| void QSCheckData::leaveBlock | ( | ) |
| void QSCheckData::leaveClass | ( | ) |
| void QSCheckData::leaveEval | ( | ) | [inline] |
| void QSCheckData::leaveFunction | ( | ) |
| void QSCheckData::leaveLoop | ( | ) |
| void QSCheckData::leavePackage | ( | ) |
| void QSCheckData::leaveSwitch | ( | ) |
| void QSCheckData::popLabel | ( | ) | [inline] |
| void QSCheckData::pushLabel | ( | const QString & | label | ) | [inline] |
| void QSCheckData::registerType | ( | QSClass * | c | ) |
| void QSCheckData::setDirectLookupEnabled | ( | bool | en | ) | [inline] |
| void QSCheckData::setGlobalStatementsForbidden | ( | bool | f | ) | [inline] |
| void QSCheckData::setLabel | ( | const QString & | label | ) |
| void QSCheckData::setLastAttributes | ( | int | a | ) | [inline] |
| void QSCheckData::setLastType | ( | QSClass * | t | ) | [inline] |
| void QSCheckData::setVarBlockCount | ( | int | ct | ) | [inline] |
| int QSCheckData::varBlockCount | ( | ) | const [inline] |
1.7.4