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