Milky2018/moon_wgsl/preprocess does not have a README file
pub(all) suberror PreprocessError {
GlslInvalidVersion(Int)
ElseWithoutCondition(Int)
TooManyEndIfs(Int)
NotEnoughEndIfs(Int)
UnknownShaderDef(String, Int)
UnknownShaderDefOperator(String, Int)
InvalidShaderDefComparisonValue(String, String, String, Int)
ImportParseError(String, Int)
DefineInModule(Int)
}pub struct Preprocessor {
}fn Preprocessor::extract_wgsl_directives(_self : Preprocessor, source : String) -> (String, WgslDirectives)fn Preprocessor::preprocess(_self : Preprocessor, source : String, shader_defs : HashMap[String, ShaderDefValue]) -> PreprocessOutput raise PreprocessErrorfn get_preprocessor_data(source : String) -> (String?, Array[ImportDefinition], HashMap[String, ShaderDefValue])