REFACTOR: the format logic belongs in the build module.

This commit is contained in:
Jeremy Wall 2019-02-06 20:35:33 -06:00
parent 208912fdc2
commit 24a4dc85c2
3 changed files with 3 additions and 3 deletions

View File

@ -30,16 +30,18 @@ use simple_error;
use unicode_segmentation::UnicodeSegmentation;
use crate::ast::*;
use crate::build::format::{ExpressionFormatter, FormatRenderer, SimpleFormatter};
use crate::build::scope::{find_in_fieldlist, Scope, ValueMap};
use crate::convert::ImporterRegistry;
use crate::error;
use crate::format::{ExpressionFormatter, FormatRenderer, SimpleFormatter};
use crate::iter::OffsetStrIter;
use crate::parse::parse;
pub mod assets;
pub mod format;
pub mod ir;
pub mod scope;
mod stdlib;
pub use self::ir::Val;

View File

@ -41,8 +41,6 @@ pub mod error;
pub mod iter;
pub mod parse;
mod format;
pub use crate::ast::Expression;
pub use crate::ast::Statement;
pub use crate::ast::Value;