|[cdt-dev] How to find the declaring parent of an IVariable ?|
Suppose I have an IBinding which is an instance of IVariable. How do I find which entity declares it ? Examples: - For a local variable or a formal parameter, the declaring parent is an IASTFunctionDefinition. - For a global variable, the declaring parent is an IASTTranslationUnit - For an IField, the declaring parent is an IASTCompositeTypeSpecifier Thanks, mani -- View this message in context: http://www.nabble.com/How-to-find-the-declaring-parent-of-an-IVariable---tp23636846p23636846.html Sent from the Eclipse CDT - Development mailing list archive at Nabble.com.
Back to the top