soa all the things

This commit is contained in:
Aleksey Kladov 2021-12-18 15:31:50 +03:00
parent 799941e05e
commit 8b9d145dea
4 changed files with 75 additions and 34 deletions

View file

@ -18,7 +18,7 @@
//! [`Parser`]: crate::parser::Parser
#![allow(rustdoc::private_intra_doc_links)]
mod lexer_token;
mod lexed_str;
mod token_set;
mod syntax_kind;
mod event;
@ -31,7 +31,7 @@ mod tests;
pub(crate) use token_set::TokenSet;
pub use crate::{lexer_token::LexerToken, syntax_kind::SyntaxKind, tokens::Tokens};
pub use crate::{lexed_str::LexedStr, syntax_kind::SyntaxKind, tokens::Tokens};
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct ParseError(pub Box<String>);