Package com.dylibso.chicory.wasm.types
Class TableImport
- java.lang.Object
-
- com.dylibso.chicory.wasm.types.Import
-
- com.dylibso.chicory.wasm.types.TableImport
-
public final class TableImport extends Import
An imported table.
-
-
Constructor Summary
Constructors Constructor Description TableImport(String moduleName, String name, ValueType entryType, Limits limits)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueTypeentryType()booleanequals(Import other)booleanequals(TableImport other)inthashCode()ExternalTypeimportType()Limitslimits()StringBuildertoString(StringBuilder b)-
Methods inherited from class com.dylibso.chicory.wasm.types.Import
equals, moduleName, name, toString
-
-
-
-
Constructor Detail
-
TableImport
public TableImport(String moduleName, String name, ValueType entryType, Limits limits)
Construct a new instance.- Parameters:
moduleName- the module name (must not benull)name- the imported table name (must not benull)entryType- the table entry type (must not benull)limits- the table limits (must not benull)
-
-
Method Detail
-
entryType
public ValueType entryType()
- Returns:
- the table entry type
-
limits
public Limits limits()
- Returns:
- the table size limits
-
importType
public ExternalType importType()
- Specified by:
importTypein classImport- Returns:
- the kind of imported definition
-
equals
public boolean equals(TableImport other)
-
toString
public StringBuilder toString(StringBuilder b)
-
-