Home
last modified time | relevance | path

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

/external/icu/icu4c/source/tools/genrb/
Dread.c51 static UBool isNewline (UChar32 c);
393 } while (!isNewline(c) && c != U_EOF && *status == U_ZERO_ERROR); in seekUntilNewline()
425 isNewline(c); in seekUntilEndOfComment()
464 static UBool isNewline(UChar32 c) { in isNewline() function
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DDifference.java413 if (e.isNewline() || e.isToken(SINGLE_LINE_COMMENT)) { in processIndentation()
437 …(nodeTextIndex - 1).isWhiteSpace() && !nodeText.getElements().get(nodeTextIndex - 1).isNewline()) { in considerCleaningTheLine()
448 …(nodeTextIndex - 1).isWhiteSpace() && !nodeText.getElements().get(nodeTextIndex - 1).isNewline()) { in isAfterLBrace()
461 if (nodeText.getElements().get(i).isNewline()) { in considerEnforcingIndentation()
470 if (nodeText.getElements().get(i).isNewline()) { in considerEnforcingIndentation()
546 … if (nodeTextIndex > 0 && nodeText.getElements().get(nodeTextIndex - 1).isNewline()) { in apply()
551 if (textElement.isNewline()) { in apply()
577 if (textElement.isNewline()) { in apply()
650 …xtIndex < nodeText.getElements().size() && nodeText.getElements().get(nodeTextIndex).isNewline()) { in apply()
DTextElement.java50 public abstract boolean isNewline(); in isNewline() method in TextElement
DChildTextElement.java91 public boolean isNewline() { in isNewline() method in ChildTextElement
DTokenTextElement.java107 public boolean isNewline() { in isNewline() method in TokenTextElement
DLexicalPreservingPrinter.java162 if (nodeText.getElements().get(index).isNewline()) { in createObserver()
439 || tte.isNewline()) {
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinterTest.java680 assertTrue(nodeText.getElements().get(index++).isNewline()); in nodeTextForMethod()
690 assertTrue(nodeText.getElements().get(index++).isNewline()); in nodeTextForMethod()
736 assertTrue(nodeText.getElements().get(index++).isNewline()); in nodeTextForModifiedMethod()
746 assertTrue(nodeText.getElements().get(index++).isNewline()); in nodeTextForModifiedMethod()