Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] DOM in AJDT

Hi,

Take a look at the org.aspectj.org.eclipse.jdt.core.dom package [1].
You will probably have to extend the
org.aspectj.org.eclipse.jdt.core.dom.AjASTVisitor [2] class to achieve
what you want. As an example, you may also take a look at the
org.aspectj.org.eclipse.jdt.core.dom.AjNaiveASTFlattener [3] class,
that aims to serialize an AST. Hope this help.

Regards,
Eduardo

[1] http://dev.eclipse.org/viewcvs/index.cgi/org.aspectj/modules/org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/?cvsroot=Technology_Project
[2] http://dev.eclipse.org/viewcvs/index.cgi/org.aspectj/modules/org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjASTVisitor.java?rev=HEAD&cvsroot=Technology_Project&content-type=text/vnd.viewcvs-markup
[3] http://dev.eclipse.org/viewcvs/index.cgi/org.aspectj/modules/org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AjNaiveASTFlattener.java?rev=HEAD&cvsroot=Technology_Project&content-type=text/vnd.viewcvs-markup


On 11/24/05, Mariano Ceccato <ceccato@xxxxxx> wrote:
> JDT plug-in provide the DOM facility. It can be used to parse the java
> source code in order to obtain both the abstract syntax tree and type
> binding for the parsed code.
>
> I need to do a similar thing for the aspectj code, does the AJDT plug-in
> provide something like that? maybe re-using portions of the aspectj
> compiler?
>
> Thanks,
> Mariano
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>


Back to the top