parameters: (self)
return_statement: return iter(includes)
docstring: 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.
docstring_summary: 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.
docstring_tokens: 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 .
function: def get_includes(self):
          """
          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.
          """
          def visitor(fobj, lptr, depth, includes):
              if depth > 0:
                  loc = lptr.contents
                  includes.append(FileInclusion(loc.file, File(fobj), loc, depth))
  
          # Automatically adapt CIndex/ctype pointers to python objects
          includes = []
          conf.lib.clang_getInclusions(self,
                  callbacks['translation_unit_includes'](visitor), includes)
  
          return iter(includes)
function_tokens: def get_includes ( self ) : def visitor ( fobj , lptr , depth , includes ) : if depth > 0 : loc = lptr . contents includes . append ( FileInclusion ( loc . file , File ( fobj ) , loc , depth ) ) # Automatically adapt CIndex/ctype pointers to python objects includes = [ ] conf . lib . clang_getInclusions ( self , callbacks [ 'translation_unit_includes' ] ( visitor ) , includes ) return iter ( includes )