[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Fetching ASTNode from an ICElement


Hi All,

Have a simple query - What is the fastest way to retrieve a corresponding ASTNode from an ICElement?

Say I have a IMethodDeclaration object, I am interested in fetching the IASTFunctionDeclarator, IASTFunctionDefinition equivalent of the this element from CDT, what would be the easiest way of doing that?

Please help! Thx in advance.

Regards,
Pavan