Class GlobalImport


  • public final class GlobalImport
    extends Import
    An imported global variable or constant.
    • Constructor Detail

      • GlobalImport

        public GlobalImport​(String moduleName,
                            String name,
                            MutabilityType mutabilityType,
                            ValueType type)
        Construct a new instance.
        Parameters:
        moduleName - the module name (must not be null)
        name - the imported global name (must not be null)
        mutabilityType - the mutability type of the global (must not be null)
        type - the type of the value stored in the global (must not be null)