leo/compiler/src/lib.rs

56 lines
1.3 KiB
Rust
Raw Normal View History

2020-08-18 13:50:26 +03:00
// Copyright (C) 2019-2020 Aleo Systems Inc.
// This file is part of the Leo library.
// The Leo library is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// The Leo 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
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
2020-05-06 04:40:25 +03:00
//! Module containing structs and types that make up a Leo program.
2020-04-24 04:33:43 +03:00
#![allow(clippy::module_inception)]
2020-05-02 08:10:40 +03:00
#[macro_use]
2020-05-09 02:35:00 +03:00
extern crate thiserror;
2020-04-24 04:33:43 +03:00
pub mod compiler;
2020-08-17 01:18:30 +03:00
pub mod console;
pub use self::console::*;
2020-03-31 23:47:51 +03:00
pub mod constraints;
pub use self::constraints::*;
2020-07-08 13:30:15 +03:00
pub mod definition;
2020-07-08 05:06:45 +03:00
2020-05-02 08:10:40 +03:00
pub mod errors;
2020-07-08 06:01:25 +03:00
pub mod expression;
pub use self::expression::*;
2020-07-08 06:06:39 +03:00
pub mod function;
pub use self::function::*;
2020-07-08 07:05:03 +03:00
pub mod import;
pub use self::import::*;
2020-07-08 05:11:26 +03:00
pub mod output;
pub use self::output::*;
2020-07-08 06:13:22 +03:00
pub mod program;
pub use self::program::*;
2020-07-08 06:03:56 +03:00
pub mod statement;
pub use self::statement::*;
2020-07-08 05:11:26 +03:00
pub mod value;
pub use self::value::*;