aboutsummaryrefslogtreecommitdiff
path: root/src/parser
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser')
-rw-r--r--src/parser/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser/mod.rs b/src/parser/mod.rs
index d04ed1e75..0f8f2ce0c 100644
--- a/src/parser/mod.rs
+++ b/src/parser/mod.rs
@@ -6,6 +6,7 @@ use tree::TOMBSTONE;
6mod event_parser; 6mod event_parser;
7use self::event_parser::Event; 7use self::event_parser::Event;
8 8
9/// Parse a sequence of tokens into the representative node tree
9pub fn parse(text: String, tokens: &[Token]) -> File { 10pub fn parse(text: String, tokens: &[Token]) -> File {
10 let events = event_parser::parse(&text, tokens); 11 let events = event_parser::parse(&text, tokens);
11 from_events_to_file(text, tokens, events) 12 from_events_to_file(text, tokens, events)