2 * Copyright (c) 2017, Facebook, Inc.
5 * This source code is licensed under the MIT license found in the
6 * LICENSE file in the "hack" directory of this source tree.
10 type convert_result
= {
11 ast_defs
: (bool * Ast.def
) list
;
12 global_state
: Emit_env.global_state
;
13 strict_types
: bool option;
16 (* Convert entire program *)
17 val convert_toplevel_prog
: Ast.program
-> convert_result