#include "core/xml/XPathExpressionNode.h"
#include "core/xml/XPathNodeSet.h"
-namespace WebCore {
+namespace blink {
namespace XPath {
virtual ~Filter();
virtual void trace(Visitor*) OVERRIDE;
- virtual Value evaluate() const OVERRIDE;
+ virtual Value evaluate(EvaluationContext&) const OVERRIDE;
private:
virtual Value::Type resultType() const OVERRIDE { return Value::NodeSetValue; }
virtual ~LocationPath();
virtual void trace(Visitor*) OVERRIDE;
- virtual Value evaluate() const OVERRIDE;
+ virtual Value evaluate(EvaluationContext&) const OVERRIDE;
void setAbsolute(bool value) { m_absolute = value; setIsContextNodeSensitive(!m_absolute); }
- void evaluate(NodeSet&) const; // nodes is an input/output parameter
+ void evaluate(EvaluationContext&, NodeSet&) const; // nodes is an input/output parameter
void appendStep(Step*);
void insertFirstStep(Step*);
virtual ~Path();
virtual void trace(Visitor*) OVERRIDE;
- virtual Value evaluate() const OVERRIDE;
+ virtual Value evaluate(EvaluationContext&) const OVERRIDE;
private:
virtual Value::Type resultType() const OVERRIDE { return Value::NodeSetValue; }