diff options
Diffstat (limited to 'src/parser')
-rw-r--r-- | src/parser/mod.rs | 1 |
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; | |||
6 | mod event_parser; | 6 | mod event_parser; |
7 | use self::event_parser::Event; | 7 | use self::event_parser::Event; |
8 | 8 | ||
9 | /// Parse a sequence of tokens into the representative node tree | ||
9 | pub fn parse(text: String, tokens: &[Token]) -> File { | 10 | pub 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) |