Lines Matching defs:axis
42 Step::Step(Axis axis, NodeTest nodeTest)
43 : m_axis(axis)
48 Step::Step(Axis axis, NodeTest nodeTest, Vector<std::unique_ptr<Expression>> predicates)
49 : m_axis(axis)
155 static inline Node::NodeType primaryNodeType(Step::Axis axis)
157 switch (axis) {
169 inline bool nodeMatchesBasicTest(Node& node, Step::Axis axis, const Step::NodeTest& nodeTest)
186 if (axis == Step::AttributeAxis) {
189 // In XPath land, namespace nodes are not accessible on the attribute axis.
199 // Node test on the namespace axis is not implemented yet, the caller has a check for it.
200 ASSERT(axis != Step::NamespaceAxis);
203 ASSERT(primaryNodeType(axis) == Node::ELEMENT_NODE);
225 inline bool nodeMatches(Node& node, Step::Axis axis, const Step::NodeTest& nodeTest)
227 if (!nodeMatchesBasicTest(node, axis, nodeTest))
246 // Result nodes are ordered in axis order. Node test (including merged predicates) is applied.
354 if (attr && attr->namespaceURI() != XMLNSNames::xmlnsNamespaceURI) { // In XPath land, namespace nodes are not accessible on the attribute axis.