mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8008174: DocTree API should provide start and end positions for tree nodes
Adding DocSourcePositions to allow access to DocTree starting/ending position Co-authored-by: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Reviewed-by: jjg, darcy
This commit is contained in:
parent
38909b134a
commit
77b43bacfd
9 changed files with 488 additions and 14 deletions
|
@ -59,7 +59,7 @@ public interface SourcePositions {
|
|||
|
||||
/**
|
||||
* Gets the ending position of tree within file. If tree is not found within
|
||||
* file, or if the starting position is not available,
|
||||
* file, or if the ending position is not available,
|
||||
* return {@link javax.tools.Diagnostic#NOPOS}.
|
||||
* The returned position must be at the end of the yield of this tree,
|
||||
* that is for any sub-tree of this tree, the following must hold:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue