Implement a basic paragraph parser.

This commit is contained in:
Tom Alexander
2023-03-25 11:22:59 -04:00
parent b88365e7eb
commit d582c8603a
3 changed files with 51 additions and 3 deletions

View File

@@ -1,4 +1,7 @@
use super::object::Object;
#[derive(Debug)]
pub struct Paragraph<'s> {
pub source: &'s str,
pub children: Vec<Object<'s>>,
}