Add tests for the content syntax parser

This commit is contained in:
Juno Takano 2025-12-26 04:19:21 -03:00
commit e50bbd468d
12 changed files with 383 additions and 120 deletions

View file

@ -2,7 +2,7 @@ use parser::{token::Token, lexeme::Lexeme};
pub mod parser;
pub trait Parseable: Into<Token> {
pub trait Parseable {
fn probe(lexeme: &Lexeme) -> bool;
fn lex(lexeme: &Lexeme) -> Self;
fn render(&self) -> String;