Searched refs:getEndPosition (Results 1 - 25 of 56) sorted by relevance

123

/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/source/util/
H A DSourcePositions.java67 * {@code tree.getEndPosition() >= subtree.getEndPosition()} or <br>
68 * {@code tree.getEndPosition() == NOPOS} or <br>
69 * {@code subtree.getEndPosition() == NOPOS}
75 * {@code tree.getStartPosition() <= tree.getEndPosition()} or <br>
77 * {@code tree.getEndPosition() == NOPOS}
84 long getEndPosition(CompilationUnitTree file, Tree tree); method in interface:SourcePositions
H A DDocSourcePositions.java76 * {@code tree.getEndPosition() >= subtree.getEndPosition()} or <br>
77 * {@code tree.getEndPosition() == NOPOS} or <br>
78 * {@code subtree.getEndPosition() == NOPOS}
84 * {@code tree.getStartPosition() <= tree.getEndPosition()} or <br>
86 * {@code tree.getEndPosition() == NOPOS}
95 long getEndPosition(CompilationUnitTree file, DocCommentTree comment, DocTree tree); method in interface:DocSourcePositions
/openjdk10/langtools/src/java.compiler/share/classes/javax/tools/
H A DDiagnostic.java116 * <p>{@code getPosition() <= getEndPosition()}
142 long getEndPosition(); method in interface:Diagnostic
/openjdk10/langtools/make/test/crules/DefinedByAnalyzer/
H A DTest.java19 public long getEndPosition(CompilationUnitTree file, Tree tree) { method in class:Test
23 public long getEndPosition(Tree tree) { method in class:Test
/openjdk10/langtools/src/jdk.jshell/share/classes/jdk/jshell/
H A DDiag.java65 * <p>{@code getPosition() <= getEndPosition()}
90 public abstract long getEndPosition(); method in class:Diag
H A DOuterWrap.java147 public long getEndPosition() { method in class:OuterWrap.WrappedDiagnostic
148 return wrapIndexToSnippetIndex(diag.getEndPosition());
H A DTreeDissector.java124 int getEndPosition(Tree tree) { method in class:TreeDissector
125 return (int) getSourcePositions().getEndPosition(targetCompilationUnit, tree);
129 return new Range(getStartPosition(tree), getEndPosition(tree));
137 int tend = getEndPosition(t);
H A DTaskFactory.java155 public long getEndPosition() {
156 return d.getEndPosition();
438 int end = (int) diag.getEndPosition();
462 diag.getStartPosition(), diag.getEndPosition(), diag.getMessage(null));
/openjdk10/langtools/test/jdk/jshell/
H A DExpectedDiagnostic.java60 public long getEndPosition() { method in class:ExpectedDiagnostic
88 assertEquals(diagnostic.getEndPosition(), endPosition, "End position");
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/
H A DDocument.java400 public Position getEndPosition(); method in interface:Document
/openjdk10/langtools/test/tools/javac/api/
H A DEndPositions.java79 if (error.getStartPosition() >= error.getEndPosition())
81 error.getStartPosition() + "], end [" + error.getEndPosition() +"]" +
H A DT6412669.java86 long end = sp.getEndPosition(p.getCompilationUnit(), p.getLeaf());
H A DTestGetElementReference.java108 && pos <= trees.getSourcePositions().getEndPosition(cut, node)) {
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/
H A DImportEntryTreeImpl.java54 entry.getEndPosition(),
82 public long getEndPosition() { method in class:ImportEntryTreeImpl
H A DExportEntryTreeImpl.java57 entry.getEndPosition(),
86 public long getEndPosition() { method in class:ExportEntryTreeImpl
H A DTreeImpl.java45 public long getEndPosition() { method in class:TreeImpl
/openjdk10/langtools/test/tools/javac/positions/
H A DT6404194.java74 pos = trees.getSourcePositions().getEndPosition(toplevel, tree1);
82 pos = trees.getSourcePositions().getEndPosition(toplevel, tree2);
H A DT6402077.java72 pos = trees.getSourcePositions().getEndPosition(toplevel, tree);
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/
H A DModule.java182 public int getEndPosition() { method in class:Module.ExportEntry
291 public int getEndPosition() { method in class:Module.ImportEntry
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/
H A DDeferredLintHandler.java138 public int getEndPosition(EndPosTable endPosTable) {
/openjdk10/langtools/test/tools/javac/doctree/positions/
H A DTestPosition.java82 int end = (int) sp.getEndPosition(testElement.getCompilationUnit(), docCommentTree, node);
/openjdk10/jdk/test/javax/swing/text/AbstractDocument/6968363/
H A DTest6968363.java158 public Position getEndPosition() { method in class:Test6968363.MyDocument
159 return this.document.getEndPosition();
/openjdk10/langtools/test/tools/javac/tree/
H A DMissingSemicolonTest.java118 int end = ((JCTree) tree).getEndPosition(unit.endPositions);
137 int end = ((JCTree) tree).getEndPosition(updated.endPositions);
/openjdk10/langtools/test/tools/javac/parser/
H A DJavacParserTest.java159 esEndPos, pos.getEndPosition(cut, es));
168 mitEndPos, pos.getEndPosition(cut, mit));
175 methodEndPos, pos.getEndPosition(cut, mit.getMethodSelect()));
195 epos, pos.getEndPosition(cut, mt));
220 epos, pos.getEndPosition(cut, est));
349 long end = trees.getSourcePositions().getEndPosition(cut, node);
480 long end = trees.getSourcePositions().getEndPosition(cut, node);
504 int end = (int) t.getSourcePositions().getEndPosition(cut, mt);
850 t.getSourcePositions().getEndPosition(cut, ret));
891 t.getSourcePositions().getEndPosition(cu
[all...]
/openjdk10/nashorn/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/
H A DNashornCompleter.java304 final String objExprCode = exprStr.substring((int)objExpr.getStartPosition(), (int)objExpr.getEndPosition());
408 if (func.getEndPosition() == nt.getEndPosition()) {

Completed in 148 milliseconds

123