sway_core

Function parsed_to_ast

Source
pub fn parsed_to_ast(
    handler: &Handler,
    engines: &Engines,
    parse_program: &mut ParseProgram,
    initial_namespace: &mut Root,
    build_config: Option<&BuildConfig>,
    package_name: &str,
    retrigger_compilation: Option<Arc<AtomicBool>>,
    experimental: ExperimentalFeatures,
) -> Result<TyProgram, ErrorEmitted>