1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright (c) The Diem Core Contributors
// SPDX-License-Identifier: Apache-2.0

#![forbid(unsafe_code)]

#[macro_use(sp)]
extern crate move_ir_types;

pub mod cfgir;
pub mod command_line;
pub mod compiled_unit;
pub mod diagnostics;
pub mod expansion;
pub mod hlir;
pub mod interface_generator;
pub mod ir_translation;
pub mod naming;
pub mod parser;
pub mod shared;
mod to_bytecode;
pub mod typing;
pub mod unit_test;

pub use command_line::{
    compiler::{
        construct_pre_compiled_lib, generate_interface_files, output_compiled_units, Compiler,
        FullyCompiledProgram, SteppedCompiler, PASS_CFGIR, PASS_COMPILATION, PASS_EXPANSION,
        PASS_HLIR, PASS_NAMING, PASS_PARSER, PASS_TYPING,
    },
    MOVE_COMPILED_INTERFACES_DIR,
};
pub use parser::comments::{CommentMap, FileCommentMap, MatchedFileCommentMap};
pub use shared::Flags;