aboutsummaryrefslogblamecommitdiffstats
path: root/src/lexer.rs
blob: abb5ebd1e7d23ca25ffd0745e9f561fc958327f1 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                     
// lexer: tokenizes to bits like '<', '<?', '"', etc.

pub enum Token {
    Whitespace,
    OpenTag,
    CloseTag,
    Slash,
    Text(String),
}