summaryrefslogtreecommitdiff
path: root/src/syntax/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-09-15 12:43:57 +0200
committerLaurenz <laurmaedje@gmail.com>2021-09-15 13:05:01 +0200
commit5de791d9e6a1006dc6a017ec8e20a1c70a91a780 (patch)
tree65a60ca99c10322d6a7411ec8abce9f488e4a89d /src/syntax/mod.rs
parentc18321a4c24b1bae9b935e3434aa114f930ca5f5 (diff)
Rename `SyntaxTree` to `Markup`
Also `SyntaxNode` -> `MarkupNode`.
Diffstat (limited to 'src/syntax/mod.rs')
-rw-r--r--src/syntax/mod.rs11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/syntax/mod.rs b/src/syntax/mod.rs
index f07e3554..8dbb108d 100644
--- a/src/syntax/mod.rs
+++ b/src/syntax/mod.rs
@@ -2,7 +2,7 @@
mod expr;
mod ident;
-mod node;
+mod markup;
mod pretty;
mod span;
mod token;
@@ -10,14 +10,7 @@ pub mod visit;
pub use expr::*;
pub use ident::*;
-pub use node::*;
+pub use markup::*;
pub use pretty::*;
pub use span::*;
pub use token::*;
-
-use crate::util::EcoString;
-
-/// The abstract syntax tree.
-///
-/// This type can represent a full parsed document.
-pub type SyntaxTree = Vec<SyntaxNode>;