123456789101112131415161718192021222324252627(**************************************************************************)(* *)(* OCamlFormat *)(* *)(* Copyright (c) Facebook, Inc. and its affiliates. *)(* *)(* This source code is licensed under the MIT license found in *)(* the LICENSE file in the root directory of this source tree. *)(* *)(**************************************************************************)typet=|Structure|Signature|Use_file|Core_type|Module_type|Expression|Repl_file|Documentationletof_fnamefname=matchFilename.extensionfnamewith|".ml"|".mlt"|".eliom"->SomeUse_file|".mli"|".eliomi"->SomeSignature|".mld"->SomeDocumentation|_->None