1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
pub(crate) mod tokenizer;

pub mod parser;

pub(crate) mod date;

pub(crate) mod table;

pub fn parse<'a>(code: String) -> Vec<parser::TOML> {
    parser::parse(tokenizer::tokenize(&*code))
}