Package com.dylibso.chicory.wasm.types
Class Export
- java.lang.Object
-
- com.dylibso.chicory.wasm.types.Export
-
-
Constructor Summary
Constructors Constructor Description Export(String name, int index, ExternalType exportType)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Export other)booleanequals(Object obj)ExternalTypeexportType()inthashCode()intindex()Stringname()
-
-
-
Constructor Detail
-
Export
public Export(String name, int index, ExternalType exportType)
Construct a new instance. The index is interpreted according totype.- Parameters:
name- the export name (must not benull)index- the index of the definition to exportexportType- the export type (must not benull)
-
-
Method Detail
-
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
-
equals
public boolean equals(Export other)
-
-