diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-08-02 22:21:58 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-08-02 22:21:58 +0200 |
| commit | 5a8f2fb73ddafba9fdbe952385ae2676126183ae (patch) | |
| tree | f65dcc5c8fc3809171e0cc1a985d466159ccb254 /src/syntax/mod.rs | |
| parent | 266d457292e7461d448f9141030028ea68b573d1 (diff) | |
Replace body! macro with functions 🧰
Diffstat (limited to 'src/syntax/mod.rs')
| -rw-r--r-- | src/syntax/mod.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/syntax/mod.rs b/src/syntax/mod.rs index 86c2fd24..6b1f3d08 100644 --- a/src/syntax/mod.rs +++ b/src/syntax/mod.rs @@ -4,6 +4,14 @@ #[macro_use] mod test; +/// Basic types used around the syntax side. +pub mod prelude { + pub use super::expr::*; + pub use super::tree::{SyntaxTree, SyntaxNode, DynamicNode}; + pub use super::span::{SpanVec, Span, Spanned}; + pub use super::value::*; +} + pub mod decoration; pub mod expr; pub mod tree; |
