Start splitting up parsing

This commit is contained in:
Joscha 2021-11-08 12:13:42 +00:00
parent 0718883a80
commit dc24bbc883
5 changed files with 84 additions and 44 deletions

7
src/parser/commands.rs Normal file
View file

@ -0,0 +1,7 @@
use crate::commands::Command;
use super::{ParseResult, Parser};
pub fn parse(p: &mut Parser<'_>) -> ParseResult<Vec<Command>> {
todo!()
}

7
src/parser/task.rs Normal file
View file

@ -0,0 +1,7 @@
use crate::commands::Task;
use super::{ParseResult, Parser};
fn parse_task(p: &mut Parser<'_>) -> ParseResult<Task> {
todo!()
}