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

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-tp17261038p17316696.html
Sent from the Eclipse CDT - Development mailing list archive at Nabble.com.



Back to the top