Home
last modified time | relevance | path

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

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DDifferenceElementCalculator.java22 } else if (b instanceof CsmUnindent) { in matching()
36 } else if (b instanceof CsmUnindent) { in matching()
43 } else if (a instanceof CsmUnindent) { in matching()
44 return b instanceof CsmUnindent; in matching()
50 …ceof CsmIndent || b instanceof CsmIndent || a instanceof CsmUnindent || b instanceof CsmUnindent) { in replacement()
239 …nts.removeIf(el -> el.getElement() instanceof CsmIndent || el.getElement() instanceof CsmUnindent); in removeIndentationElements()
DAdded.java6 import com.github.javaparser.printer.concretesyntaxmodel.CsmUnindent;
52 public boolean isUnindent() { return element instanceof CsmUnindent; } in isUnindent()
DKept.java8 import com.github.javaparser.printer.concretesyntaxmodel.CsmUnindent;
58 public boolean isUnindent() { return element instanceof CsmUnindent; } in isUnindent()
DLexicalDifferenceCalculator.java48 elements.removeIf(el -> el instanceof CsmIndent || el instanceof CsmUnindent); in removeIndentationElements()
229 } else if (csm instanceof CsmUnindent) { in calculatedSyntaxModelForNode()
DDifference.java15 import com.github.javaparser.printer.concretesyntaxmodel.CsmUnindent;
396 …ce() || removed.getElement() instanceof CsmIndent || removed.getElement() instanceof CsmUnindent) { in applyRemovedDiffElement()
649 && diffElements.get(diffIndex + 1).getElement() instanceof CsmUnindent; in isFollowedByUnindent()
DLexicalPreservingPrinter.java500 } else if (element instanceof CsmUnindent) { in interpret()
/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-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DDifferenceElementCalculatorTest.java20 import com.github.javaparser.printer.concretesyntaxmodel.CsmUnindent;
366 assertEquals(DifferenceElement.added(new CsmUnindent()), differenceElements.get(i++)); in addingStatementToEmptyMethodBody()