I noticed such method appears on line 2547 of the most recent python interface on production (the one with the token interface added by Gregory Szorc):<div><br></div><div><div>    lib.clang_getCursorReferenced.argtypes = [Cursor]</div>

<div>    lib.clang_getCursorReferenced.restype = Cursor</div><div>    lib.clang_getCursorReferenced.errcheck = Cursor.from_result</div></div><div><br></div><div><br></div><div>I was wondering if this method is usable from the python interface and if so, which method encapsulates it? <div>

<br></div><div>If I understood properly, this method would be able to take as parameter cursors of the type CursorKind.DECL_REF_EXPR and return the cursor it points to on the tree. This would be of critical important on my current work, as it was the token part. </div>

<div><br></div><div>Thank you again,</div><div><br clear="all">Carlos Andrade<br><a href="http://carlosandrade.co" target="_blank">http://carlosandrade.co</a><br>
</div></div>