[cfe-dev] Back-navigation of the Syntax Tree!

steve naroff snaroff at apple.com
Thu Jan 29 09:22:30 PST 2009


On Jan 29, 2009, at 11:14 AM, Sebastian Redl wrote:

> Sebastian Redl wrote:
>> Your search result is correct. AST nodes do not save their parents,  
>> so
>> there is no way of getting the parent of a node save by iterating the
>> tree and looking.
>>
>
> Apparently I'm talking out of my ass. Well, good to know that there  
> is a
> solution available.
>

Everything you said was actually true!

The surface area of the API has gotten quite large...don't beat  
yourself up for not knowing every API:-)

snaroff

> Sebastian
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list