def get_includes(self):
def visitor(fobj, lptr, depth, includes):<EOL><INDENT>if depth > <NUM_LIT:0>:<EOL><INDENT>loc = lptr.contents<EOL>includes.append(FileInclusion(loc.file, File(fobj), loc, depth))<EOL><DEDENT><DEDENT>includes = []<EOL>conf.lib.clang_getInclusions(self,<EOL>callbacks['<STR_LIT>'](visitor), includes)<EOL>return iter(includes)<EOL>
Return an iterable sequence of FileInclusion objects that describe the
sequence of inclusions in a translation unit. The first object in
this sequence is always the input file. Note that this method will not
recursively iterate over header files included through precompiled
headers.