mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
REFACTOR: the format logic belongs in the build module.
This commit is contained in:
parent
208912fdc2
commit
24a4dc85c2
@ -30,16 +30,18 @@ use simple_error;
|
|||||||
use unicode_segmentation::UnicodeSegmentation;
|
use unicode_segmentation::UnicodeSegmentation;
|
||||||
|
|
||||||
use crate::ast::*;
|
use crate::ast::*;
|
||||||
|
use crate::build::format::{ExpressionFormatter, FormatRenderer, SimpleFormatter};
|
||||||
use crate::build::scope::{find_in_fieldlist, Scope, ValueMap};
|
use crate::build::scope::{find_in_fieldlist, Scope, ValueMap};
|
||||||
use crate::convert::ImporterRegistry;
|
use crate::convert::ImporterRegistry;
|
||||||
use crate::error;
|
use crate::error;
|
||||||
use crate::format::{ExpressionFormatter, FormatRenderer, SimpleFormatter};
|
|
||||||
use crate::iter::OffsetStrIter;
|
use crate::iter::OffsetStrIter;
|
||||||
use crate::parse::parse;
|
use crate::parse::parse;
|
||||||
|
|
||||||
pub mod assets;
|
pub mod assets;
|
||||||
|
pub mod format;
|
||||||
pub mod ir;
|
pub mod ir;
|
||||||
pub mod scope;
|
pub mod scope;
|
||||||
|
|
||||||
mod stdlib;
|
mod stdlib;
|
||||||
|
|
||||||
pub use self::ir::Val;
|
pub use self::ir::Val;
|
||||||
|
@ -41,8 +41,6 @@ pub mod error;
|
|||||||
pub mod iter;
|
pub mod iter;
|
||||||
pub mod parse;
|
pub mod parse;
|
||||||
|
|
||||||
mod format;
|
|
||||||
|
|
||||||
pub use crate::ast::Expression;
|
pub use crate::ast::Expression;
|
||||||
pub use crate::ast::Statement;
|
pub use crate::ast::Statement;
|
||||||
pub use crate::ast::Value;
|
pub use crate::ast::Value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user