Home
last modified time | relevance | path

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

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinter.java539 List<TokenTextElement> followingNewlines = new LinkedList<>(); in findIndentation() local
547 followingNewlines.add(tte); in findIndentation()
550 Collections.reverse(followingNewlines); in findIndentation()
551 for (int i = 0; i < followingNewlines.size(); i++) { in findIndentation()
552 if (!followingNewlines.get(i).isSpaceOrTab()) { in findIndentation()
553 return followingNewlines.subList(0, i); in findIndentation()
556 return followingNewlines; in findIndentation()