diff options
author | Nadrieril | 2019-05-07 16:28:39 +0200 |
---|---|---|
committer | Nadrieril | 2019-05-07 16:28:39 +0200 |
commit | 14dfeb8e7d2aa87a361a711a485243449426b144 (patch) | |
tree | 02e00cd008d2e7dc899b9211379596fe792f41c8 /dhall_syntax | |
parent | 1a97f8957539e9192bdb9176a8eafd4da101a857 (diff) |
Reorganize dhall_syntax
Diffstat (limited to '')
-rw-r--r-- | dhall_syntax/src/core/context.rs (renamed from dhall_syntax/src/context.rs) | 0 | ||||
-rw-r--r-- | dhall_syntax/src/core/expr.rs (renamed from dhall_syntax/src/core.rs) | 0 | ||||
-rw-r--r-- | dhall_syntax/src/core/import.rs (renamed from dhall_syntax/src/import.rs) | 0 | ||||
-rw-r--r-- | dhall_syntax/src/core/label.rs (renamed from dhall_syntax/src/label.rs) | 0 | ||||
-rw-r--r-- | dhall_syntax/src/core/mod.rs | 10 | ||||
-rw-r--r-- | dhall_syntax/src/core/text.rs (renamed from dhall_syntax/src/text.rs) | 0 | ||||
-rw-r--r-- | dhall_syntax/src/core/visitor.rs (renamed from dhall_syntax/src/visitor.rs) | 0 | ||||
-rw-r--r-- | dhall_syntax/src/lib.rs | 10 |
8 files changed, 12 insertions, 8 deletions
diff --git a/dhall_syntax/src/context.rs b/dhall_syntax/src/core/context.rs index 55bfff5..55bfff5 100644 --- a/dhall_syntax/src/context.rs +++ b/dhall_syntax/src/core/context.rs diff --git a/dhall_syntax/src/core.rs b/dhall_syntax/src/core/expr.rs index 2b76b9a..2b76b9a 100644 --- a/dhall_syntax/src/core.rs +++ b/dhall_syntax/src/core/expr.rs diff --git a/dhall_syntax/src/import.rs b/dhall_syntax/src/core/import.rs index 00f293c..00f293c 100644 --- a/dhall_syntax/src/import.rs +++ b/dhall_syntax/src/core/import.rs diff --git a/dhall_syntax/src/label.rs b/dhall_syntax/src/core/label.rs index 43c3f53..43c3f53 100644 --- a/dhall_syntax/src/label.rs +++ b/dhall_syntax/src/core/label.rs diff --git a/dhall_syntax/src/core/mod.rs b/dhall_syntax/src/core/mod.rs new file mode 100644 index 0000000..7762479 --- /dev/null +++ b/dhall_syntax/src/core/mod.rs @@ -0,0 +1,10 @@ +mod expr; +pub use expr::*; +mod import; +pub use import::*; +mod label; +pub use label::*; +mod text; +pub use text::*; +pub mod context; +pub mod visitor; diff --git a/dhall_syntax/src/text.rs b/dhall_syntax/src/core/text.rs index 83643d9..83643d9 100644 --- a/dhall_syntax/src/text.rs +++ b/dhall_syntax/src/core/text.rs diff --git a/dhall_syntax/src/visitor.rs b/dhall_syntax/src/core/visitor.rs index 20bfc72..20bfc72 100644 --- a/dhall_syntax/src/visitor.rs +++ b/dhall_syntax/src/core/visitor.rs diff --git a/dhall_syntax/src/lib.rs b/dhall_syntax/src/lib.rs index 3db8222..193c6ea 100644 --- a/dhall_syntax/src/lib.rs +++ b/dhall_syntax/src/lib.rs @@ -13,16 +13,10 @@ //! [dhall-rust]: https://github.com/Nadrieril/dhall-rust mod core; +pub use crate::core::context; +pub use crate::core::visitor; pub use crate::core::*; -mod import; -pub use crate::import::*; -mod label; -pub use crate::label::*; -mod text; -pub use crate::text::*; mod printer; pub use crate::printer::*; mod parser; pub use crate::parser::*; -pub mod context; -pub mod visitor; |