diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-10-06 20:27:17 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-10-06 20:27:17 +0200 |
| commit | 7dd78af459e0a88617594e2caef7989703d5db79 (patch) | |
| tree | 5e6697443c66aaaee69bb6787c08e862eb92b884 /src/syntax/ast/mod.rs | |
| parent | 4252f959f74b94e0079178b32bf758f889c8cd95 (diff) | |
Rename ast/tree -> ast/node ✏
Diffstat (limited to 'src/syntax/ast/mod.rs')
| -rw-r--r-- | src/syntax/ast/mod.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/syntax/ast/mod.rs b/src/syntax/ast/mod.rs index 0d394e54..60a958a4 100644 --- a/src/syntax/ast/mod.rs +++ b/src/syntax/ast/mod.rs @@ -2,10 +2,13 @@ mod expr; mod lit; -mod tree; +mod node; pub use expr::*; pub use lit::*; -pub use tree::*; +pub use node::*; use super::{Ident, SpanVec, Spanned}; + +/// A collection of nodes which form a tree together with the nodes' children. +pub type SynTree = SpanVec<SynNode>; |
