aboutsummaryrefslogtreecommitdiff
path: root/src/parser/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/mod.rs')
-rw-r--r--src/parser/mod.rs10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/parser/mod.rs b/src/parser/mod.rs
index e72ab05af..8631baa2e 100644
--- a/src/parser/mod.rs
+++ b/src/parser/mod.rs
@@ -1,18 +1,14 @@
1#[macro_use] 1#[macro_use]
2mod token_set; 2mod token_set;
3mod parser;
4mod input;
5mod event; 3mod event;
6mod grammar; 4mod grammar;
5mod input;
6mod parser;
7 7
8use { 8use {lexer::Token, parser::event::process};
9 lexer::Token,
10 parser::event::{process}
11};
12 9
13pub(crate) use self::event::Sink; 10pub(crate) use self::event::Sink;
14 11
15
16/// Parse a sequence of tokens into the representative node tree 12/// Parse a sequence of tokens into the representative node tree
17pub(crate) fn parse<S: Sink>(text: String, tokens: &[Token]) -> S::Tree { 13pub(crate) fn parse<S: Sink>(text: String, tokens: &[Token]) -> S::Tree {
18 let events = { 14 let events = {