diff --git a/rox_compiler/src/compile.rs b/rox_compiler/src/compile.rs index 190ed6e..8871be0 100644 --- a/rox_compiler/src/compile.rs +++ b/rox_compiler/src/compile.rs @@ -17,7 +17,7 @@ use crate::common::{sanitize,Style,PropertiesOverride}; //eventually: #[derive(Debug)] #[allow(dead_code)]//idk why this thinks it's dead code, the errors are printed out in various places -enum QueryResolveError{ +pub enum QueryResolveError{ NotFound,//0 results Ambiguous,//>1 results JoinError(tokio::task::JoinError), @@ -234,7 +234,7 @@ struct CompileNode{ } #[derive(Debug)] -enum CompileNodeError{ +pub enum CompileNodeError{ IO(std::io::Error), ScriptWithOverrides(ScriptWithOverridesError), InvalidHintOrClass(Option,ScriptHint), @@ -375,7 +375,7 @@ impl CompileNode{ } #[derive(Debug)] -enum ScriptHint{ +pub enum ScriptHint{ Script, LocalScript, ModuleScript, @@ -409,8 +409,8 @@ enum TooComplicated{ } pub struct CompileConfig{ - input_folder:PathBuf, - style:Option