Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » The CDT AST
The CDT AST [message #179605] Tue, 14 November 2006 03:52 Go to next message
Eclipse UserFriend
Hi,

I'm trying to access the AST (Abstract Syntax Tree) for a C/C++ source
code. There's little or no documentation to get about doing this.

Could someone point me to a resource or source code where I can get the
AST for a piece of C/C++ source ?

--
Ketan Padegaonkar
I blog... Therefore I am... http://ketan.padegaonkar.name/
Re: The CDT AST [message #179629 is a reply to message #179605] Tue, 14 November 2006 07:14 Go to previous message
Eclipse UserFriend
Ketan Padegaonkar wrote:
> Hi,
>
> I'm trying to access the AST (Abstract Syntax Tree) for a C/C++ source
> code. There's little or no documentation to get about doing this.
>
> Could someone point me to a resource or source code where I can get the
> AST for a piece of C/C++ source ?
>

@see ITranslationUnit#getLanguage() and ILanguage#getASTTranslationUnit()

HTH
--
Anton Leherbauer
Wind River CDT Team, Austria
Previous Topic:about cdt source code
Next Topic:Default compiler flags
Goto Forum:
  


Current Time: Tue Jul 22 21:19:56 EDT 2025

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

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

Back to the top