This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

root tree gcc


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]