KHTML
khtml::XPath::Expression Class Reference
#include <expression.h>

Public Member Functions | |
| Expression () | |
| virtual | ~Expression () |
| void | addSubExpression (Expression *expr) |
| virtual QString | dump () const =0 |
| virtual Value | evaluate () const |
| virtual bool | isConstant () const |
| void | optimize () |
Static Public Member Functions | |
| static EvaluationContext & | evaluationContext () |
| static void | reportInvalidExpressionErr () |
| static void | reportNamespaceErr () |
Protected Member Functions | |
| Expression * | subExpr (unsigned int i) |
| const Expression * | subExpr (unsigned int i) const |
| unsigned int | subExprCount () const |
Detailed Description
Definition at line 114 of file expression.h.
Constructor & Destructor Documentation
| Expression::Expression | ( | ) |
Definition at line 218 of file expression.cpp.
| Expression::~Expression | ( | ) | [virtual] |
Definition at line 223 of file expression.cpp.
Member Function Documentation
| void Expression::addSubExpression | ( | Expression * | expr | ) |
Definition at line 237 of file expression.cpp.
| virtual QString khtml::XPath::Expression::dump | ( | ) | const [pure virtual] |
| Value Expression::evaluate | ( | ) | const [virtual] |
Definition at line 229 of file expression.cpp.
| EvaluationContext & Expression::evaluationContext | ( | ) | [static] |
Definition at line 212 of file expression.cpp.
| bool Expression::isConstant | ( | ) | const [virtual] |
Reimplemented in khtml::XPath::Number, khtml::XPath::String, khtml::XPath::LogicalOp, and khtml::XPath::VariableReference.
Definition at line 278 of file expression.cpp.
| void Expression::optimize | ( | ) |
Reimplemented in khtml::XPath::LocationPath.
Definition at line 242 of file expression.cpp.
| void Expression::reportInvalidExpressionErr | ( | ) | [static] |
Definition at line 288 of file expression.cpp.
| void Expression::reportNamespaceErr | ( | ) | [static] |
Definition at line 293 of file expression.cpp.
| Expression * Expression::subExpr | ( | unsigned int | i | ) | [protected] |
Definition at line 266 of file expression.cpp.
| const Expression * Expression::subExpr | ( | unsigned int | i | ) | const [protected] |
Definition at line 272 of file expression.cpp.
| unsigned int Expression::subExprCount | ( | ) | const [protected] |
Definition at line 261 of file expression.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference