pub fn new(
        loc: Loc,
        imports: Vec<ImportDefinition>,
        explicit_dependency_declarations: Vec<ModuleDependency>,
        constants: Vec<Constant>,
        main: Function,
    ) -> Self {
        Script {
            loc,
            imports,
            explicit_dependency_declarations,
            constants,
            main,
        }
    }
/// Create a new `Script` from the imports and the main function
Create a new `Script` from the imports and the main function
Create a new ` Script ` from the imports and the main function
pub fn new(
        loc: Loc,
        imports: Vec<ImportDefinition>,
        explicit_dependency_declarations: Vec<ModuleDependency>,
        constants: Vec<Constant>,
        main: Function,
    ) -> Self {
        Script {
            loc,
            imports,
            explicit_dependency_declarations,
            constants,
            main,
        }
    }
pub fn new ( loc : Loc , imports : Vec < ImportDefinition > , explicit_dependency_declarations : Vec < ModuleDependency > , constants : Vec < Constant > , main : Function , ) -> Self { Script { loc , imports , explicit_dependency_declarations , constants , main , } }
Create a new `Script` from the imports and the main function
Create a new ` Script ` from the imports and the main function
loc
Loc
imports
Vec<ImportDefinition>
explicit_dependency_declarations
Vec<ModuleDependency>
constants
Vec<Constant>
main
Function