[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
Re: [aspectj-dev] I have some problems about the ASTnode information in the ajdt
|
- From: Charles Zhang <zhangcharles@xxxxxxxxx>
- Date: Mon, 9 Jul 2007 09:01:43 -0700 (PDT)
- Delivered-to: aspectj-dev@eclipse.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=YXiu0RHfJ/a/y6O4u2K/jURstz9p6PCW6ac441eFc4trW8GvhDCD9DRCY5mGC+iCrguRzcJ9ViZjPiPmfQJhZ2IFPVrThH9zXAqDcoIueIwfFcWi8cMg1cykVZha1noMNgl2ynHdI0PGWmFi+96i3MQKz/clFtzqwGpgPi6En/M=;
Hi, first of all you shouldn't post your question on the aspectj-announce list. It is for announcement of an event, not for questions.
About getting lexical information of the AST nodes, I put up a quick slide about getting AST information in AJDT. It does not completely answer your question, but you can infer what to do from there, I tihnk.
aosd.net/2007/program/eclipse/ExtendingAJDT.ppt
Charles
Yawn !!
----- Original Message ----
From: 顾仲贤 <ausgoo@xxxxxxxxx>
To: aspectj-announce@xxxxxxxxxxx; aspectj-dev@xxxxxxxxxxx
Sent: Monday, July 9, 2007 7:38:02 AM
Subject: [aspectj-dev] I have some problems about the ASTnode information in the ajdt
Hello Everyone:
First I give a brief introduction of me, My name is Gu Zhong Xian, I am now studying in Shanghai Jiao Tong University (China) major in software engineering. I am now doing some work related to compiler and the current work is to compare 2 versions of ASTs. My work now is to compare the 2 ASTs and to extract the differences of the 2 ASTs. And I use the eclipse ajdt as my parser. Now I have depart the parser from the total compiler. And could let it make the AST for me. But now I encounter some tough problems. The exploration of the ASTnodes make me fuddle, and the complicated hierarchy relationships make me don't know where to tract the node information. For example, if I know this node is a class, and I want to know its name, I don't know where it stored, in the TypeDeclaration of the ASTNode, and if I want to know the method name, I also don't where to track it, so I wonder is there some good ways to get these information, or are there some documents to
guide me to do this. So, I come here for help.
Thank you for reading my message and May you an happy day~~
Gu Zhong Xian
ausgoo@xxxxxxxxx
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev