This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
root tree gcc
- From: "Humberto Rocha" <humrocha at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 30 Sep 2005 01:12:18 +0000
- Subject: root tree gcc
- Bcc:
Hi...
I am using the front end pinapa
(http://greensocs.sourceforge.net/pinapa/doc/html/index.html)
and it API has a function to get the tree of body of a method C++:
tree method_tree= pinapa::st_process_deco::get(method)->get_gcc_body();
i use the macro DECL_CLASS_CONTEXT to capture the tree of class:
tree class_tree= DECL_CLASS_CONTEXT(method_tree);
now i need something above of this...
How I access the node root of my AST?
Thanks...
--
Humberto