diff options
Diffstat (limited to 'src/parser')
-rw-r--r-- | src/parser/mod.rs | 1 | ||||
-rw-r--r-- | src/parser/parser.rs | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/parser/mod.rs b/src/parser/mod.rs new file mode 100644 index 0000000..67c567f --- /dev/null +++ b/src/parser/mod.rs @@ -0,0 +1 @@ +pub mod parser; diff --git a/src/parser/parser.rs b/src/parser/parser.rs new file mode 100644 index 0000000..017ec83 --- /dev/null +++ b/src/parser/parser.rs @@ -0,0 +1,10 @@ +pub struct Parser { +} + +pub struct Text { + value: String, +} +pub struct Heading { + size: u8, + value: Text, +} |