Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How can I get a AST by CDT?
How can I get a AST by CDT? [message #168096] Fri, 14 April 2006 02:12
Eclipse UserFriend
Originally posted by: zhdf.os.pku.edu.cn

I'm writting a eclipse plugin. I need to get a AST by CDT. I've found that
with JDT, we can get it like this:

ASTParser parser = ASTParser.newParser(AST.JLS3);
parser.setSource(cu);
ASTNode root = parser.createAST(null);

but I cannot find the corresponding interface for CDT, how can I get it?

Thanks,
Stephen
Previous Topic:${system:ECLIPSE_HOME}
Next Topic:c++ indexing on save
Goto Forum:
  


Current Time: Fri Sep 19 04:47:48 EDT 2025

Powered by FUDForum. Page generated in 0.03893 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top