kexi
KexiDB::BaseExpr Class Reference
#include <expression.h>
Inheritance diagram for KexiDB::BaseExpr:

Detailed Description
A base class for all expressions.
Definition at line 57 of file expression.h.
Public Types | |
| typedef QPtrList< BaseExpr > | List |
|
typedef QPtrListIterator< BaseExpr > | ListIterator |
Public Member Functions | |
| BaseExpr (int token) | |
| virtual | ~BaseExpr () |
| int | token () const |
| virtual Field::Type | type () |
| BaseExpr * | parent () const |
| virtual void | setParent (BaseExpr *p) |
| virtual bool | validate (ParseInfo &parseInfo) |
| virtual QString | toString ()=0 |
| void | debug () |
| virtual QString | debugString () |
| QString | tokenToDebugString () |
| virtual QString | tokenToString () |
| int | exprClass () const |
| NArgExpr * | toNArg () |
| UnaryExpr * | toUnary () |
| BinaryExpr * | toBinary () |
| ConstExpr * | toConst () |
| VariableExpr * | toVariable () |
| FunctionExpr * | toFunction () |
Static Public Member Functions | |
| static QString | tokenToDebugString (int token) |
Protected Attributes | |
| int | m_cl |
| BaseExpr * | m_par |
| int | m_token |
Member Function Documentation
| QString KexiDB::BaseExpr::tokenToDebugString | ( | ) | [inline] |
- Returns:
- single character if the token is < 256 or token name, e.g. LESS_OR_EQUAL (for debugging).
Definition at line 76 of file expression.h.
| QString BaseExpr::tokenToString | ( | ) | [virtual] |
- Returns:
- string for token, like "<=" or ">"
Reimplemented in KexiDB::BinaryExpr.
Definition at line 105 of file expression.cpp.
| NArgExpr * BaseExpr::toNArg | ( | ) |
Convenience type casts.
Definition at line 112 of file expression.cpp.
Member Data Documentation
int KexiDB::BaseExpr::m_cl [protected] |
BaseExpr* KexiDB::BaseExpr::m_par [protected] |
The documentation for this class was generated from the following files:

