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
|
|
Definition at line 76 of file expression.h. |
|
|
Reimplemented in KexiDB::BinaryExpr. Definition at line 105 of file expression.cpp. |
|
|
Convenience type casts. Definition at line 112 of file expression.cpp. |
Member Data Documentation
|
|
class
Definition at line 93 of file expression.h. |
|
|
parent expression
Definition at line 94 of file expression.h. |
The documentation for this class was generated from the following files:

