Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 509 Bytes

example.rst

File metadata and controls

17 lines (12 loc) · 509 Bytes

Searching for a declaration (using a loop)

This example shows how to search for a specific declaration using a loop on the declarations tree.

Let's consider the following c++ file (example.hpp):

example.hpp

The following code will show you how to loop on the tree and find a declaration

example.py