feat: basic definitions
This commit is contained in:
@@ -82,6 +82,8 @@ mod reify;
|
||||
mod tests;
|
||||
mod tokenizer;
|
||||
mod types;
|
||||
#[cfg(feature = "metadata")]
|
||||
mod definitions;
|
||||
|
||||
/// Error encountered when parsing a script.
|
||||
type PERR = ParseErrorType;
|
||||
@@ -258,6 +260,9 @@ pub mod serde;
|
||||
#[cfg(not(feature = "no_optimize"))]
|
||||
pub use optimizer::OptimizationLevel;
|
||||
|
||||
#[cfg(feature = "metadata")]
|
||||
pub use definitions::Definitions;
|
||||
|
||||
/// Placeholder for the optimization level.
|
||||
#[cfg(feature = "no_optimize")]
|
||||
pub type OptimizationLevel = ();
|
||||
|
Reference in New Issue
Block a user