Class Export

java.lang.Object
com.dylibso.chicory.wasm.types.Export

public class Export extends Object
An exported definition.

See Exports for reference.

  • Constructor Details

    • Export

      public Export(String name, int index, ExternalType exportType)
      Construct a new instance. The index is interpreted according to type.
      Parameters:
      name - the export name (must not be null)
      index - the index of the definition to export
      exportType - the export type (must not be null)
  • Method Details

    • name

      public String name()
      Returns:
      the export name
    • index

      public int index()
      Returns:
      the export index
    • exportType

      public ExternalType exportType()
      Returns:
      the type of exported definition
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(Export other)