Bug 39601 - [DOM/AST] clarify documentation of source ranges
Summary: [DOM/AST] clarify documentation of source ranges
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0 M5   Edit
Assignee: Jim des Rivieres CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-03 10:31 EDT by Jim des Rivieres CLA
Modified: 2003-11-24 07:08 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim des Rivieres CLA 2003-07-03 10:31:21 EDT
The specs for source ranges are diffused, making it hard to find
where source ranges are supposed to begin and end.

It would be an improvment to add "@see AST#parseCompilationUnit" to 
ASTNode.getStartPosition() and ASTNode.getLength().
Comment 1 Jim des Rivieres CLA 2003-11-14 22:19:57 EST
Improved specs for ASTNode.getLength, getStartPosition, and setSourceRange.

Fixed in builds > N20031114. Updated build notes.

Comment 2 David Audel CLA 2003-11-24 07:08:03 EST
Verified.