#include <xpath_node.h>
Inheritance diagram for XPath::XPathNode::

Public Types | |
| enum | NodeType { NullNode, AxisNode, BinaryOpNode, FunctionCallNode, LiteralNode, LocationPathNode, NodeTestNode, UnaryOpNode, VariableRefNode } |
Public Methods | |
| XPathNode () | |
| XPathNode (const XPathNode &node) | |
| XPathNode (XPathNode::NodeType nodeType) | |
| virtual | ~XPathNode () |
| XPathNode::NodeType | nodeType () const |
| virtual Value * | evaluate (QueryState *state) |
| virtual QString | qstring () const |
|
|
Returns the type of this node.
|
|
|
Evaluates the current node, in the context of the specified QueryState. Note that if the evaluation is unsuccessful the value returned will be of the type Exception. Reimplemented in XPath::BinaryOp, XPath::FunctionCall, and XPath::Axis. |
|
|
Returns a dump of the node.
Reimplemented in XPath::BinaryOp, XPath::FunctionCall, XPath::Axis, XPath::Value, XPath::Exception, XPath::String, XPath::Boolean, and XPath::Number. |
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001