[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Rendering of CompilationUnit

> I don't think there is API to render an AST. However you could use an
> ASTVisitor to do the job yourself. Have a look at ASTFlattener in
> org.eclipse.jdt.ui for an example.

just dump the ast to a string and use a ICodeFormatter
a.