Home
last modified time | relevance | path

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

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/
DCsmUnindent.java27 public class CsmUnindent implements CsmElement { class
41 return obj instanceof CsmUnindent; in equals()
DCsmElement.java139 return new CsmUnindent(); in unindent()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DDifference.java224 } else if (b instanceof CsmUnindent) { in matching()
238 } else if (b instanceof CsmUnindent) { in matching()
245 } else if (a instanceof CsmUnindent) { in matching()
246 return b instanceof CsmUnindent; in matching()
252 …ceof CsmIndent || b instanceof CsmIndent || a instanceof CsmUnindent || b instanceof CsmUnindent) { in replacement()
536 if (addedElement instanceof CsmUnindent) { in apply()
580 && elements.get(diffIndex + 1).getElement() instanceof CsmUnindent; in apply()
625 } else if (kept.element instanceof CsmUnindent) { in apply()
883 …nts.removeIf(el -> el.getElement() instanceof CsmIndent || el.getElement() instanceof CsmUnindent); in removeIndentationElements()
DLexicalDifferenceCalculator.java48 elements.removeIf(el -> el instanceof CsmIndent || el instanceof CsmUnindent); in removeIndentationElements()
228 } else if (csm instanceof CsmUnindent) { in calculatedSyntaxModelForNode()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DDifferenceTest.java19 import com.github.javaparser.printer.concretesyntaxmodel.CsmUnindent;
363 … assertEquals(Difference.DifferenceElement.added(new CsmUnindent()), diff.getElements().get(i++)); in addingStatementToEmptyMethodBody()