|what's the difference between public DOM AST and internal AST [message #840557]
||Tue, 10 April 2012 04:28
| Wooyoung Cho
Registered: April 2012
I have two questions.
1. I noticed that there are two ASTs in JDT: public and internal ASTs. Why there are two sets of ASTs. Is it because of internal AST can be changes in the future?
2. Public AST uses ASTNode.NodeList to represent a list of child nodes. And ASTNode.NodeList is just a list of ASTNodes. For example, Block.statements has ASTNode.NodeList type and it doesn't have the concrete type information of child nodes. I wonder why NodeList is used instead of type such as NodeList<Statement>?
Powered by FUDForum
. Page generated in 0.01696 seconds