hg: jdk8/tl/langtools: 8008174: DocTree API should provide start and end positions for tree nodes
jonathan.gibbons at oracle.com
jonathan.gibbons at oracle.com
Thu Apr 18 17:17:37 PDT 2013
Changeset: ed918a442b83
Author: jlahoda
Date: 2013-04-17 15:54 +0200
URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/ed918a442b83
8008174: DocTree API should provide start and end positions for tree nodes
Summary: Adding DocSourcePositions to allow access to DocTree starting/ending position
Reviewed-by: jjg, darcy
Contributed-by: Ralph Benjamin Ruijs <ralphbenjamin at netbeans.org>, Jan Lahoda <jlahoda at netbeans.org>
+ src/share/classes/com/sun/source/util/DocSourcePositions.java
! src/share/classes/com/sun/source/util/DocTrees.java
! src/share/classes/com/sun/source/util/SourcePositions.java
! src/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/share/classes/com/sun/tools/javac/parser/DocCommentParser.java
! src/share/classes/com/sun/tools/javac/tree/DCTree.java
+ test/tools/javac/doctree/positions/TestPosition.java
+ test/tools/javac/doctree/positions/TestPosition.out
+ test/tools/javac/doctree/positions/TestPositionSource.java
More information about the compiler-dev
mailing list