Home
last modified time | relevance | path

Searched refs:TextElement (Results 1 – 14 of 14) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DNodeText.java36 private final List<TextElement> elements;
50 NodeText(List<TextElement> elements) { in NodeText()
68 void addElement(TextElement nodeTextElement) { in addElement()
75 void addElement(int index, TextElement nodeTextElement) { in addElement()
116 TextElement element = elements.get(i); in tryToFindElement()
150 for (TextElement e : elements) { in remove()
180 void replace(TextElementMatcher position, TextElement newElement) { in replace()
206 TextElement getTextElement(int index) { in getTextElement()
211 List<TextElement> getElements() { in getElements()
224 TextElement lastElement = elements.get(elements.size() - 1); in endWithSpace()
DDifference.java32 private final List<TextElement> originalElements;
52 …private List<TextElement> processIndentation(List<TokenTextElement> indentation, List<TextElement>… in processIndentation()
53 List<TextElement> res = new LinkedList<>(indentation); in processIndentation()
55 for (TextElement e : prevElements) { in processIndentation()
70 private List<TextElement> indentationBlock() { in indentationBlock()
71 List<TextElement> res = new LinkedList<>(); in indentationBlock()
137 TextElement originalElement = originalElements.get(originalIndex); in apply()
157 TextElement originalElement = originalElements.get(originalIndex); in applyLeftOverOriginalElements()
347 …private void applyRemovedDiffElement(RemovedGroup removedGroup, Removed removed, TextElement origi… in applyRemovedDiffElement()
440 …private void applyKeptDiffElement(Kept kept, TextElement originalElement, boolean originalElementI… in applyKeptDiffElement()
[all …]
DTextElement.java30 public abstract class TextElement implements TextElementMatcher { class
43 public boolean match(TextElement textElement) { in match()
80 return (TextElement textElement) -> { in matchByRange()
DTextElementMatcher.java26 boolean match(TextElement textElement); in match()
DTextElementMatchers.java35 public boolean match(TextElement textElement) { in byNode()
DAdded.java54 public TextElement toTextElement() { in toTextElement()
DChildTextElement.java33 class ChildTextElement extends TextElement {
DTokenTextElement.java30 class TokenTextElement extends TextElement {
DTextElementIteratorsFactory.java160 TextElement textElement = nodeText.getTextElement(index); in reverseIterator()
DDifferenceElementCalculator.java137 for (TextElement el : nodeTextForChild.getElements()) { in considerRemoval()
DLexicalPreservingPrinter.java183 TextElement matchingElement = matchingTokens.get(0); in getIndexOfComment()
337 List<Pair<Range, TextElement>> elements = new LinkedList<>(); in storeInitialTextForOneNode()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DAstNodes.java20 import org.eclipse.jdt.core.dom.TextElement;
31 TextElement textElement = createTextElement(ast, text); in createTextTagElement()
36 public static TextElement createTextElement(AST ast, String text) { in createTextElement()
37 TextElement textElement = ast.newTextElement(); in createTextElement()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinterTest.java76 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForField()
89 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForVariableDeclarator()
101 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForMethod()
114 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForMethodParameter()
128 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForPrimitiveType()
139 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForSimpleImport()
161 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedGenericType()
172 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedAnnotationDeclaration()
184 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedAnnotationMemberDeclaration()
196 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedAnnotationMemberDeclarationWithArrayType()
[all …]
/external/ImageMagick/MagickCore/
Dxwindow-private.h95 TextElement, enumerator