Home
last modified time | relevance | path

Searched refs:NodeTest (Results 1 – 7 of 7) sorted by relevance

/external/webkit/WebCore/xml/
DXPathGrammar.y62 Step::NodeTest* nodeTest;
97 %type <nodeTest> NodeTest
184 NodeTest OptionalPredicateList
205 …$$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), …
208 … $$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
213 AxisSpecifier NodeTest OptionalPredicateList
234 … $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$3);
237 $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
254 NodeTest:
258 $$ = new Step::NodeTest(Step::NodeTest::AnyNodeTest);
[all …]
DXPathStep.h52 class NodeTest {
58 NodeTest(Kind kind) : m_kind(kind) {} in NodeTest() function
59 NodeTest(Kind kind, const String& data) : m_kind(kind), m_data(data) {} in NodeTest() function
60NodeTest(Kind kind, const String& data, const String& namespaceURI) : m_kind(kind), m_data(data), … in NodeTest() function
77 … Step(Axis, const NodeTest& nodeTest, const Vector<Predicate*>& predicates = Vector<Predicate*>());
85 const NodeTest& nodeTest() const { return m_nodeTest; } in nodeTest()
96 NodeTest m_nodeTest;
DXPathStep.cpp43 Step::Step(Axis axis, const NodeTest& nodeTest, const Vector<Predicate*>& predicates) in Step()
77 && first->m_nodeTest.kind() == Step::NodeTest::AnyNodeTest in optimizeStepPair()
87 …first->m_nodeTest = Step::NodeTest(second->m_nodeTest.kind(), second->m_nodeTest.data(), second->m… in optimizeStepPair()
155 static inline bool nodeMatchesBasicTest(Node* node, Step::Axis axis, const Step::NodeTest& nodeTest) in nodeMatchesBasicTest()
158 case Step::NodeTest::TextNodeTest: in nodeMatchesBasicTest()
160 case Step::NodeTest::CommentNodeTest: in nodeMatchesBasicTest()
162 case Step::NodeTest::ProcessingInstructionNodeTest: { in nodeMatchesBasicTest()
166 case Step::NodeTest::AnyNodeTest: in nodeMatchesBasicTest()
168 case Step::NodeTest::NameTest: { in nodeMatchesBasicTest()
207 static inline bool nodeMatches(Node* node, Step::Axis axis, const Step::NodeTest& nodeTest) in nodeMatches()
[all …]
DXPathParser.h89 void registerNodeTest(Step::NodeTest*);
90 void deleteNodeTest(Step::NodeTest*);
123 HashSet<Step::NodeTest*> m_nodeTests;
DXPathParser.cpp612 void Parser::registerNodeTest(Step::NodeTest* t) in registerNodeTest()
622 void Parser::deleteNodeTest(Step::NodeTest* t) in deleteNodeTest()
/external/webkit/WebCore/
DChangeLog-2007-10-1446308 (WebCore::XPath::Step::NodeTest::NodeTest):
46309 (WebCore::XPath::Step::NodeTest::namespaceURI):
46312 Move m_namespaceURI to NodeTest, where it belongs. Removed unused m_nodeTestData (oops!).
50187 (WebCore::XPath::Step::NodeTest::):
50188 (WebCore::XPath::Step::NodeTest::NodeTest):
50189 (WebCore::XPath::Step::NodeTest::kind):
50190 (WebCore::XPath::Step::NodeTest::data):
50191 Step::NodeTest is a new sub-class that represents a fully parsed NodeTest.
50205 (WebCore::XPath::Step::Step): Use the new NodeTest class.
50209 …(WebCore::XPath::Step::nodeTestMatches): Use NodeTest instead of parsing the test from string each…
DChangeLog-2009-06-164249 (WebCore::XPath::Step::NodeTest::Kind): Removed unused ElementNodeTest, which was previously
4251 (WebCore::XPath::Step::NodeTest::mergedPredicates): To avoid building a huge node set and
4256 (WebCore::XPath::Step::~Step): The step owns NodeTest merged predicates, so it is still
4258 (WebCore::XPath::Step::optimize): Merge predicates into NodeTest if possible.
5664 (WebCore::XPath::Step::NodeTest::data):
5665 (WebCore::XPath::Step::NodeTest::namespaceURI):