|Re: JavaDoc parser [message #513394 is a reply to message #513203]
||Tue, 09 February 2010 19:16
| Nitin Dahyabhai
Registered: July 2009
On 2/9/2010 6:14 AM, Keya wrote:|
> Hi Nitin,
> The parser you have mentioned is fine and works for the JS file sitting
> in a project.
> I have an additional requirement to parse a non-workspace file for the
> JavaDoc. These are basically the user libraries that I can attach with
> the JS Project. Can you please tell me what's the correct way of
> 'org.eclipse.wst.jsdt.internal.compiler.batch.CompilationUni t'?
The closest thing we have for that kind of task is
Map, boolean), which is very much internal. You can, however, then use
a org.eclipse.wst.jsdt.core.ast.ASTVisitor to walk the AST for comments.
It's not nearly as easy to use, but then arbitrary standalone files
aren't a use case in which we're heavily vested.
Eclipse WTP Source Editing
Eclipse WTP, IBM
Powered by FUDForum
. Page generated in 0.21466 seconds