Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] How to Get The Scope of a Node

I'd use IASTTranslationUnit.getNodeSelector()... to find IASTNames.

There is no good support for IScope objects. I am thinking about
making improvements to IScope for CDT 5.1, you may want to raise a
bug on this.

Markus.
 

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of student08
> Sent: Saturday, May 17, 2008 6:46 PM
> To: cdt-dev@xxxxxxxxxxx
> Subject: Re: [cdt-dev] How to Get The Scope of a Node
> Importance: Low
> 
> 
> To get the IASTName for a particular IIndexName would I 
> actually have to traverse the AST of the file (translation 
> unit) that IIndexName is referred to in?
> 
> Also is there a method of comparing the scopes, to see if one 
> is greater than the other?
> 
> Thanks alot
> --
> View this message in context: 
> http://www.nabble.com/How-to-Get-The-Scope-of-a-Node-tp1726103
> 8p17293778.html
> Sent from the Eclipse CDT - Development mailing list archive 
> at Nabble.com.
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 


Back to the top