Home
last modified time | relevance | path

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

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DDifference.java32 private final List<TextElement> originalElements; field in Difference
47 this.originalElements = nodeText.getElements(); in Difference()
137 TextElement originalElement = originalElements.get(originalIndex); in apply()
151 } while (diffIndex < diffElements.size() || originalIndex < originalElements.size()); in apply()
156 if (diffIndex >= diffElements.size() && originalIndex < originalElements.size()) { in applyLeftOverOriginalElements()
157 TextElement originalElement = originalElements.get(originalIndex); in applyLeftOverOriginalElements()
173 if (diffIndex < diffElements.size() && originalIndex >= originalElements.size()) { in applyLeftOverDiffElements()
367 if (originalElements.size() > originalIndex && originalIndex > 0) { in applyRemovedDiffElement()
368 if (originalElements.get(originalIndex).isWhiteSpace() in applyRemovedDiffElement()
369 && originalElements.get(originalIndex - 1).isWhiteSpace()) { in applyRemovedDiffElement()
[all …]