[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[aspectj-announce] I have some problems about the ASTnode information in the ajdt
|
- From: "顾仲贤" <ausgoo@xxxxxxxxx>
- Date: Mon, 9 Jul 2007 19:38:02 +0800
- Delivered-to: aspectj-announce@eclipse.org
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=mYLVe/ANXWv+NemGWe5NSEAjmTmLOgEq4ov6u+SGGIJ/4RdtavnLGE4Z7eUkvYZe5nip+RjufNil5AAcsZYRbpLtOoV36TXxQskVWlAs8gym2I/LnIoJY+ITM/UMRVehxjari2AoUUU3V9Zw8NiOPigwnMOMiRJgS5ejmN9HxBk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Mm0lswis3gGkHRODgr0gGguCEP5NfwRLSk0nTxGTcjJpTuUtZew77rlJ/U5MCy1ra0rMdW5hv6NqQRMAkHRKgLQeLs1raERycGpZD9VQTYSMC0Ph+u4dOJUDniYts9kfkH4MY/ctvZQLoeoyFobA2k0QZrPZayXwOUNu1EzIf6U=
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