Home
last modified time | relevance | path

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

/external/webkit/Source/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.h53 class NodeTest {
60 NodeTest(Kind kind) : m_kind(kind) {} in NodeTest() function
61 NodeTest(Kind kind, const String& data) : m_kind(kind), m_data(data) {} in NodeTest() function
62NodeTest(Kind kind, const String& data, const String& namespaceURI) : m_kind(kind), m_data(data), … in NodeTest() function
79 … Step(Axis, const NodeTest& nodeTest, const Vector<Predicate*>& predicates = Vector<Predicate*>());
87 const NodeTest& nodeTest() const { return m_nodeTest; } in nodeTest()
98 NodeTest m_nodeTest;
DXPathStep.cpp44 Step::Step(Axis axis, const NodeTest& nodeTest, const Vector<Predicate*>& predicates) in Step()
78 && first->m_nodeTest.kind() == Step::NodeTest::AnyNodeTest in optimizeStepPair()
88 …first->m_nodeTest = Step::NodeTest(second->m_nodeTest.kind(), second->m_nodeTest.data(), second->m… in optimizeStepPair()
156 static inline bool nodeMatchesBasicTest(Node* node, Step::Axis axis, const Step::NodeTest& nodeTest) in nodeMatchesBasicTest()
159 case Step::NodeTest::TextNodeTest: in nodeMatchesBasicTest()
161 case Step::NodeTest::CommentNodeTest: in nodeMatchesBasicTest()
163 case Step::NodeTest::ProcessingInstructionNodeTest: { in nodeMatchesBasicTest()
167 case Step::NodeTest::AnyNodeTest: in nodeMatchesBasicTest()
169 case Step::NodeTest::NameTest: { in nodeMatchesBasicTest()
212 static inline bool nodeMatches(Node* node, Step::Axis axis, const Step::NodeTest& nodeTest) in nodeMatches()
[all …]
DXPathParser.h91 void registerNodeTest(Step::NodeTest*);
92 void deleteNodeTest(Step::NodeTest*);
125 HashSet<Step::NodeTest*> m_nodeTests;
DXPathParser.cpp611 void Parser::registerNodeTest(Step::NodeTest* t) in registerNodeTest()
621 void Parser::deleteNodeTest(Step::NodeTest* t) in deleteNodeTest()
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
DContextMatchStepPattern.java90 XObject score = NodeTest.SCORE_NONE; in executeRelativePathPattern()
121 if (score != NodeTest.SCORE_NONE) in executeRelativePathPattern()
128 score = NodeTest.SCORE_NONE; in executeRelativePathPattern()
149 if (score != NodeTest.SCORE_NONE) in executeRelativePathPattern()
154 if (score != NodeTest.SCORE_NONE) in executeRelativePathPattern()
DStepPattern.java39 public class StepPattern extends NodeTest implements SubContextList, ExpressionOwner
343 return NodeTest.SCORE_NONE; in execute()
386 if (m_whatToShow == NodeTest.SHOW_BYFUNCTION) in execute()
393 return NodeTest.SCORE_NONE; in execute()
400 if (score == NodeTest.SCORE_NONE) in execute()
401 return NodeTest.SCORE_NONE; in execute()
406 return NodeTest.SCORE_NONE; in execute()
444 if (NodeTest.SCORE_NONE != super.execute(xctxt, child)) in checkProximityPosition()
543 if (NodeTest.SCORE_NONE != super.execute(xctxt, child)) in getProximityPosition()
669 XObject score = NodeTest.SCORE_NONE; in executeRelativePathPattern()
[all …]
DNodeTest.java38 public class NodeTest extends Expression class
199 public NodeTest(int whatToShow, String namespace, String name) in NodeTest() method in NodeTest
210 public NodeTest(int whatToShow) in NodeTest() method in NodeTest
223 NodeTest nt = (NodeTest)expr; in deepEquals()
257 public NodeTest(){} in NodeTest() method in NodeTest
DUnionPattern.java127 if (score != NodeTest.SCORE_NONE) in execute()
138 bestScore = NodeTest.SCORE_NONE; in execute()
DNodeTestFilter.java38 void setNodeTest(NodeTest nodeTest); in setNodeTest()
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DDescendantIterator.java33 import org.apache.xpath.patterns.NodeTest;
272 || NodeTest.WILD.equals(localName) in setRoot()
273 || NodeTest.WILD.equals(namespace)) in setRoot()
313 || localName == NodeTest.WILD in asNode()
314 || namespace == NodeTest.WILD) in asNode()
DUnionChildIterator.java26 import org.apache.xpath.patterns.NodeTest;
123 if (score != NodeTest.SCORE_NONE) in acceptNode()
DMatchPatternIterator.java31 import org.apache.xpath.patterns.NodeTest;
310 System.out.println("skip: "+(score == NodeTest.SCORE_NONE)); in acceptNode()
314 return (score == NodeTest.SCORE_NONE) ? DTMIterator.FILTER_SKIP in acceptNode()
DPredicatedNodeTest.java32 import org.apache.xpath.patterns.NodeTest;
34 public abstract class PredicatedNodeTest extends NodeTest implements SubContextList
473 if (score != NodeTest.SCORE_NONE) in acceptNode()
DWalkerFactory.java35 import org.apache.xpath.patterns.NodeTest;
905 pat.setLocalName(NodeTest.WILD); in loadSteps()
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tree.Tests.pas1314 NodeTest: IRewriteRuleNodeStream;
1317 NodeTest := TRewriteRuleNodeStream.Create(CreateTreeAdaptor, Description);
1319 CheckFalse(NodeTest.HasNext);
1320 CheckEquals(Description, NodeTest.Description);
1321 CheckEquals(NodeTest.Size, 0);
1322 NodeTest.Reset;
1323 CheckEquals(NodeTest.Size, 0);
1324 NodeTest.NextNode;
1331 NodeTest: IRewriteRuleNodeStream;
1334 NodeTest := TRewriteRuleNodeStream.Create(CreateTreeAdaptor, Description);
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/
DXPathVisitor.java31 import org.apache.xpath.patterns.NodeTest;
84 public boolean visitStep(ExpressionOwner owner, NodeTest step) in visitStep()
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DOpMap.java25 import org.apache.xpath.patterns.NodeTest;
404 return NodeTest.WILD; in getStepNS()
450 return NodeTest.WILD; in getStepLocalName()
DCompiler.java61 import org.apache.xpath.patterns.NodeTest;
782 return NodeTest.SHOW_BYFUNCTION; in getWhatToShow()
DXPathParser.java1786 NodeTest(axesType); in Basis()
1830 protected void NodeTest(int axesType) throws javax.xml.transform.TransformerException in NodeTest() method in XPathParser
2357 NodeTest(axesType); in AbbreviatedNodeTestStep()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DTemplateList.java36 import org.apache.xpath.patterns.NodeTest;
398 if (ex instanceof NodeTest) in getPriorityOrScore()
400 return ((NodeTest) ex).getDefaultScore(); in getPriorityOrScore()
559 if ((head.m_stepPattern.execute(xctxt, targetNode, dtm, expTypeID) != NodeTest.SCORE_NONE) in getTemplateFast()
617 if ((head.m_stepPattern.execute(xctxt, targetNode) != NodeTest.SCORE_NONE) in getTemplate()
688 if ((head.m_stepPattern.execute(xctxt, targetNode) != NodeTest.SCORE_NONE) in getTemplate()
/external/webkit/Source/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):
DChangeLog-2010-01-2925247 class NodeTest - xml/XPathGrammar.y:258