parameters: (srcdir, source)
return_statement: return includes
docstring: Returns all included files for the USES_* libraries.
docstring_summary: Returns all included files for the USES_* libraries.
docstring_tokens: Returns all included files for the USES_ * libraries .
function: def extract_uses_includes(srcdir, source):
      """Returns all included files for the USES_* libraries."""
      includes = set()
      for line in io.open(source, encoding='utf-8'):
          for key in __USES_INCLUDES.keys():
              match = re.compile(
                  r'^#include (' + __USES_INCLUDES[key] + ')').match(line)
              if match:
                  includes.add(match.group(1))
      return includes
function_tokens: def extract_uses_includes ( srcdir , source ) : includes = set ( ) for line in io . open ( source , encoding = 'utf-8' ) : for key in __USES_INCLUDES . keys ( ) : match = re . compile ( r'^#include (' + __USES_INCLUDES [ key ] + ')' ) . match ( line ) if match : includes . add ( match . group ( 1 ) ) return includes