Break up 'types' module

This commit is contained in:
Juno Takano 2026-01-11 21:31:51 -03:00
commit db8c02df04
36 changed files with 382 additions and 329 deletions

View file

@ -5,12 +5,8 @@ use crate::{
syntax::content::{
Parseable as _,
parser::{
lexeme::Lexeme,
state::State,
token::{
Token, bold::Bold, checkbox::CheckBox, oblique::Oblique,
strike::Strike, underline::Underline,
},
Lexeme, State, Token,
token::{Bold, CheckBox, Oblique, Strike, Underline},
},
},
};
@ -62,7 +58,7 @@ pub fn parse(
#[cfg(test)]
mod tests {
use crate::{syntax::content::parser, types::Graph};
use crate::{syntax::content::parser, graph::Graph};
fn read(input: &str) -> String {
parser::read(input, &Graph::default())