Refactor tokenizer.
This commit is contained in:
parent
14746f94ca
commit
31eaf321d0
12
src/lib.rs
12
src/lib.rs
@ -131,15 +131,11 @@ pub use optimize::OptimizationLevel;
|
||||
|
||||
#[cfg(feature = "internals")]
|
||||
#[deprecated(note = "this type is volatile and may change")]
|
||||
pub use token::Token;
|
||||
pub use token::{get_next_token, parse_string_literal, InputStream, Token, TokenizeState};
|
||||
|
||||
#[cfg(feature = "internals")]
|
||||
#[deprecated(note = "this type is volatile and may change")]
|
||||
pub use parser::Expr;
|
||||
|
||||
#[cfg(feature = "internals")]
|
||||
#[deprecated(note = "this type is volatile and may change")]
|
||||
pub use parser::Stmt;
|
||||
pub use parser::{Expr, ReturnType, Stmt};
|
||||
|
||||
#[cfg(feature = "internals")]
|
||||
#[deprecated(note = "this type is volatile and may change")]
|
||||
@ -148,7 +144,3 @@ pub use module::ModuleRef;
|
||||
#[cfg(feature = "internals")]
|
||||
#[deprecated(note = "this type is volatile and may change")]
|
||||
pub use utils::StaticVec;
|
||||
|
||||
#[cfg(feature = "internals")]
|
||||
#[deprecated(note = "this type is volatile and may change")]
|
||||
pub use parser::ReturnType;
|
||||
|
1330
src/token.rs
1330
src/token.rs
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user