Start splitting up parsing
This commit is contained in:
parent
0718883a80
commit
dc24bbc883
5 changed files with 84 additions and 44 deletions
7
src/parser/commands.rs
Normal file
7
src/parser/commands.rs
Normal 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
7
src/parser/task.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
use crate::commands::Task;
|
||||
|
||||
use super::{ParseResult, Parser};
|
||||
|
||||
fn parse_task(p: &mut Parser<'_>) -> ParseResult<Task> {
|
||||
todo!()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue