Searched refs:TextElement (Results 1 – 14 of 14) sorted by relevance
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
D | NodeText.java | 36 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()
|
D | Difference.java | 32 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 …]
|
D | TextElement.java | 30 public abstract class TextElement implements TextElementMatcher { class 43 public boolean match(TextElement textElement) { in match() 80 return (TextElement textElement) -> { in matchByRange()
|
D | TextElementMatcher.java | 26 boolean match(TextElement textElement); in match()
|
D | TextElementMatchers.java | 35 public boolean match(TextElement textElement) { in byNode()
|
D | Added.java | 54 public TextElement toTextElement() { in toTextElement()
|
D | ChildTextElement.java | 33 class ChildTextElement extends TextElement {
|
D | TokenTextElement.java | 30 class TokenTextElement extends TextElement {
|
D | TextElementIteratorsFactory.java | 160 TextElement textElement = nodeText.getTextElement(index); in reverseIterator()
|
D | DifferenceElementCalculator.java | 137 for (TextElement el : nodeTextForChild.getElements()) { in considerRemoval()
|
D | LexicalPreservingPrinter.java | 183 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/ |
D | AstNodes.java | 20 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/ |
D | LexicalPreservingPrinterTest.java | 76 … 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/ |
D | xwindow-private.h | 95 TextElement, enumerator
|