Home
last modified time | relevance | path

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

/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DAstNodes.java31 TextElement textElement = createTextElement(ast, text); in createTextTagElement() local
32 element.fragments().add(textElement); in createTextTagElement()
37 TextElement textElement = ast.newTextElement(); in createTextElement() local
38 textElement.setText(text); in createTextElement()
39 return textElement; in createTextElement()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DTextElementMatcher.java26 boolean match(TextElement textElement); in match() argument
36 return textElement -> this.match(textElement) && textElementMatcher.match(textElement); in and()
DTextElementMatchers.java29 return textElement -> textElement.isToken(tokenType); in byTokenType()
35 public boolean match(TextElement textElement) { in byNode()
36 return textElement.isNode(node); in byNode()
DTextElement.java43 public boolean match(TextElement textElement) { in match() argument
44 return this.equals(textElement); in match()
80 return (TextElement textElement) -> { in matchByRange()
82 Optional<Range> range2 = textElement.getRange(); in matchByRange()
DTextElementIteratorsFactory.java160 TextElement textElement = nodeText.getTextElement(index); in reverseIterator() local
161 if (textElement instanceof TokenTextElement) { in reverseIterator()
162 return new SingleElementIterator<TokenTextElement>((TokenTextElement)textElement) { in reverseIterator()
168 } else if (textElement instanceof ChildTextElement) { in reverseIterator()
169 ChildTextElement childTextElement = (ChildTextElement)textElement; in reverseIterator()
DDifference.java663 TextElement textElement = nodeText.getTextElement(i); in findIndexOfCorrespondingNodeTextElement() local
665 boolean isCorresponding = isCorrespondingElement(textElement, csmElement, node); in findIndexOfCorrespondingNodeTextElement()
691 } else if (isAlmostCorrespondingElement(textElement, csmElement, node)) { in findIndexOfCorrespondingNodeTextElement()
724 …private boolean isCorrespondingElement(TextElement textElement, CsmElement csmElement, Node node) { in isCorrespondingElement() argument
727 if (textElement instanceof TokenTextElement) { in isCorrespondingElement()
728 TokenTextElement tokenTextElement = (TokenTextElement)textElement; in isCorrespondingElement()
733 if (textElement instanceof ChildTextElement) { in isCorrespondingElement()
734 ChildTextElement childTextElement = (ChildTextElement)textElement; in isCorrespondingElement()
744 …private boolean isAlmostCorrespondingElement(TextElement textElement, CsmElement csmElement, Node … in isAlmostCorrespondingElement() argument
745 if (isCorrespondingElement(textElement, csmElement, node)) { in isAlmostCorrespondingElement()
[all …]
/external/skia/tests/
DSVGDeviceTest.cpp398 const auto* textElement = dom.getFirstChild(rootElement, "text"); in DEF_TEST() local
399 REPORTER_ASSERT(reporter, !!textElement == !expect_path, "unexpected text element"); in DEF_TEST()