Home
last modified time | relevance | path

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

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DDifference.java34 private int diffIndex = 0; field in Difference
132 DifferenceElement diffElement = diffElements.get(diffIndex); in apply()
151 } while (diffIndex < diffElements.size() || originalIndex < originalElements.size()); in apply()
156 if (diffIndex >= diffElements.size() && originalIndex < originalElements.size()) { in applyLeftOverOriginalElements()
173 if (diffIndex < diffElements.size() && originalIndex >= originalElements.size()) { in applyLeftOverDiffElements()
174 DifferenceElement diffElement = diffElements.get(diffIndex); in applyLeftOverDiffElements()
179 diffIndex++; in applyLeftOverDiffElements()
189 diffIndex++; in applyLeftOverDiffElements()
362 … if ((diffIndex + 1 >= diffElements.size() || !(diffElements.get(diffIndex + 1) instanceof Added)) in applyRemovedDiffElement()
371 … if ((diffIndex + 1) == diffElements.size() || (diffElements.get(diffIndex + 1) instanceof Kept)) { in applyRemovedDiffElement()
[all …]