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

Still don't know what 'tmp' is. 

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of student08
> Sent: Monday, May 19, 2008 3:36 PM
> To: cdt-dev@xxxxxxxxxxx
> Subject: RE: [cdt-dev] How to Get The Scope of a Node
> Importance: Low
> 
> 
> Here's the code I'm using btw:
> 
> IASTNodeSelector ns =
> unit.getNodeSelector(tmp.getFileLocation().getFileName());
> IASTName name = ns.findName(tmp.getNodeOffset(), tmp.getNodeLength());
> 				
> globalDefinitions.add(name);
> 
> Also everytime I try to return an ITranslationUnit tu = 
> (ITranslationUnit) tmpFile, an exception is returned
> --
> View this message in context: 
> http://www.nabble.com/How-to-Get-The-Scope-of-a-Node-tp1726103
> 8p17316696.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