Eneboo - Documentación para desarrolladores
Métodos públicos
Referencia de la Clase QSCheckData

#include <qscheck.h>

Lista de todos los miembros.

Métodos públicos

 QSCheckData (QSEnv *e, QSGlobalClass *g=0)
 ~QSCheckData ()
QSEnvenv () const
void enterEval (QSEvalScopeClass *c)
void leaveEval ()
void enterClass (QSClass *c)
void leaveClass ()
bool insideClass (const QString &name) const
void registerType (QSClass *c)
QSClasstypeInfo (const QString &name) const
void pushLabel (const QString &label)
void popLabel ()
bool inClass () const
bool inFunction () const
bool inLoop () const
bool inSwitch () const
bool inPackage () const
QSClassinnermostClass () const
QSClasscurrentClass () const
QSFunctionScopeClasscurrentFunction () const
QSClasscurrentScope () const
bool hasError () const
QSErrorCode errorCode () const
QValueList< uinterrorLines () const
QStringList errorMessages () const
int lastAttributes () const
void setLastAttributes (int a)
QSClasslastType () const
void setLastType (QSClass *t)
bool globalStatementsForbidden () const
void setGlobalStatementsForbidden (bool f)
int varBlockCount () const
void setVarBlockCount (int ct)
void setDirectLookupEnabled (bool en)
bool directLookupEnabled ()
, including

Resolves the globally qualified name of package / class / function resolution.

void enterFunction (QSFunctionScopeClass *c)
void leaveFunction ()
void setLabel (const QString &label)
QString currentLabel () const
bool seenLabel (const QString &label) const
void clearLabel ()
void enterBlock (QSBlockScopeClass *cl)
void leaveBlock ()
void enterLoop (const QString &label=QString::null)
void leaveLoop ()
void enterSwitch ()
void leaveSwitch ()
void enterPackage (const QString &name)
void leavePackage ()
bool inGlobal () const
bool canReturn () const
void addError (const QSNode *node, QSErrorCode code, const QString &msg)
void addError (const QSNode *node, const QString &msg)
void addWarning (const QSNode *node, QSErrorCode code, const QString &msg)
void addWarning (const QSNode *node, const QString &msg)
QString globalName (const QString &name) const

Documentación del constructor y destructor

QSCheckData::QSCheckData ( QSEnv e,
QSGlobalClass g = 0 
)
QSCheckData::~QSCheckData ( )

Documentación de las funciones miembro

void QSCheckData::addError ( const QSNode node,
QSErrorCode  code,
const QString msg 
)
void QSCheckData::addError ( const QSNode node,
const QString msg 
)
void QSCheckData::addWarning ( const QSNode node,
QSErrorCode  code,
const QString msg 
)
void QSCheckData::addWarning ( const QSNode node,
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]
QString QSCheckData::globalName ( const QString name) const
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::insideClass ( const QString name) const
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)
bool QSCheckData::seenLabel ( const QString label) const
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]
QSClass * QSCheckData::typeInfo ( const QString name) const
int QSCheckData::varBlockCount ( ) const [inline]

La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'