Function sway_core::compile_to_ast
source · pub fn compile_to_ast(
engines: Engines<'_>,
input: Arc<str>,
initial_namespace: Module,
build_config: Option<&BuildConfig>,
package_name: &str
) -> CompileResult<TyProgram>