123456789101112131415161718192021222324252627282930(* Yoann Padioleau
*
* Copyright (C) 2010 Facebook
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation, with the
* special exception on linking described in file license.txt.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file
* license.txt for more details.
*)moduleAst=Ast_pythonmoduleFlag=Flag_parsing(*****************************************************************************)(* Filenames *)(*****************************************************************************)letfind_source_files_of_dir_or_filesxs=Common.files_of_dir_or_files_no_vcs_nofilterxs|>List.filter(funfilename->letftype=File_type.file_type_of_filefilenameinmatchftypewith|File_type.PL(File_type.Python)->true|_->false)|>Common.sort