Searched refs:getStartPosition (Results 1 – 10 of 10) sorted by relevance
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/ |
D | Trees.java | 37 return getEndPosition(tree, path) - getStartPosition(tree); in getLength() 41 static int getStartPosition(Tree expression) { in getStartPosition() method in Trees 42 return ((JCTree) expression).getStartPosition(); in getStartPosition() 59 return source.subSequence(getStartPosition(node), getEndPosition(node, path)).toString(); in getSourceForNode()
|
D | StringWrapper.java | 156 int startColumn = lineMap.getColumnNumber(getStartPosition(flat.get(0))) - 1; 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() 352 private static int getStartPosition(Tree tree) { in getStartPosition() method in StringWrapper 353 return ((JCTree) tree).getStartPosition(); in getStartPosition()
|
D | DimensionHelpers.java | 87 int pos = ((JCTree) dim.get(0)).getStartPosition(); in reorderBySourcePosition()
|
D | JavaInputAstVisitor.java | 28 import static com.google.googlejavaformat.java.Trees.getStartPosition; 561 int startPosition = getStartPosition(expression); in hasOnlyShortItems() 1352 int typeParameterStart = getStartPosition(node.getTypeParameters().get(0)); 1354 if (getStartPosition(annotations.get(i)) > typeParameterStart) { 3211 return positionToColumnMap.get(builder.actualStartColumn(getStartPosition(expression))); 3546 int start = getStartPosition(first); 3550 && getStartPosition(it.peek()) == start) { 3559 int position = ((JCTree) bodyDeclaration).getStartPosition(); 3665 builder.sync(((JCTree) node).getStartPosition());
|
D | RemoveUnusedImports.java | 256 replacements.put(Range.closedOpen(importTree.getStartPosition(), endPosition), ""); in buildReplacements()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
D | StartPositionComparator.java | 26 return Integer.compare(o1.getStartPosition(), o2.getStartPosition()); in compare()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
D | BaseModifyCommentScanner.java | 44 String commentText = document.get(comment.getStartPosition(), comment.getLength()); in process() 47 document.replace(comment.getStartPosition(), comment.getLength(), newCommentText); in process()
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/ |
D | TagMatchingDeclarations.java | 66 Collections.sort(matchingNodes, Comparator.comparingInt(o -> o.declaration.getStartPosition())); in process()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | NormalizedIdentifierParser.java | 127 public int getStartPosition() {
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/ |
D | Main.java | 357 documentBefore.getLineOfOffset(node.getStartPosition()); in nodeIdentifier()
|