Ast: export objects as public
This commit is contained in:
parent
d70d12ea1f
commit
83562d4654
1 changed files with 12 additions and 11 deletions
|
@ -1,18 +1,19 @@
|
|||
use std::fmt;
|
||||
|
||||
mod expr;
|
||||
mod statement;
|
||||
|
||||
use std::fmt;
|
||||
pub use expr::Expr;
|
||||
pub use expr::Literal;
|
||||
pub use expr::Variable;
|
||||
pub use expr::VariableBuilder;
|
||||
pub use expr::BinaryOperator;
|
||||
|
||||
use expr::{
|
||||
Expr,
|
||||
Literal,
|
||||
Variable,
|
||||
BinaryOperator,
|
||||
};
|
||||
|
||||
use statement::Stat;
|
||||
use statement::Block;
|
||||
use statement::GlobalBlock;
|
||||
pub use statement::Stat;
|
||||
pub use statement::Block;
|
||||
pub use statement::GlobalBlock;
|
||||
pub use statement::Declaration;
|
||||
pub use statement::DeclarationBuilder;
|
||||
|
||||
pub trait GazType {
|
||||
fn get_base(&self) -> BaseType;
|
||||
|
|
Loading…
Reference in a new issue