Class GlobalImport

java.lang.Object
com.dylibso.chicory.wasm.types.Import
com.dylibso.chicory.wasm.types.GlobalImport

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

    • 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)
  • Method Details