Home
last modified time | relevance | path

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

/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DTrees.java37 return getEndPosition(tree, path) - getStartPosition(tree); in getLength()
46 static int getEndPosition(Tree expression, TreePath path) { in getEndPosition() method in Trees
48 .getEndPosition(((JCTree.JCCompilationUnit) path.getCompilationUnit()).endPositions); in getEndPosition()
59 return source.subSequence(getStartPosition(node), getEndPosition(node, path)).toString(); in getSourceForNode()
DStringWrapper.java128 int endPosition = getEndPosition(unit, literalTree); in getReflowReplacements()
160 int end = getEndPosition(unit, getLast(flat)); in getReflowReplacements()
170 Range.closedOpen(getStartPosition(flat.get(0)), getEndPosition(unit, getLast(flat))), in getReflowReplacements()
186 String text = input.substring(getStartPosition(tree) + 1, getEndPosition(unit, tree) - 1); in stringComponents()
342 input.subSequence(getEndPosition(unit, one), getStartPosition(two))); in noComments()
348 private static int getEndPosition(JCTree.JCCompilationUnit unit, Tree tree) { in getEndPosition() method in StringWrapper
349 return ((JCTree) tree).getEndPosition(unit.endPositions); in getEndPosition()
DRemoveUnusedImports.java249 int endPosition = importTree.getEndPosition(unit.endPositions); in buildReplacements()
DJavaInputAstVisitor.java24 import static com.google.googlejavaformat.java.Trees.getEndPosition;
563 startPosition, getEndPosition(expression, getCurrentPath()) - startPosition) in hasOnlyShortItems()
3582 getNextToken(input, getEndPosition(lastNode, getCurrentPath()));
/external/cldr/tools/java/org/unicode/cldr/draft/
DNormalizedIdentifierParser.java123 public int getEndPosition() {