Package org.teavm.backend.wasm.disasm
Class DisassemblyImportSectionListener
java.lang.Object
org.teavm.backend.wasm.disasm.BaseDisassemblyListener
org.teavm.backend.wasm.disasm.DisassemblyImportSectionListener
- All Implemented Interfaces:
ImportSectionListener
public class DisassemblyImportSectionListener
extends BaseDisassemblyListener
implements ImportSectionListener
-
Field Summary
Fields inherited from class org.teavm.backend.wasm.disasm.BaseDisassemblyListener
nameProvider, writer -
Constructor Summary
ConstructorsConstructorDescriptionDisassemblyImportSectionListener(DisassemblyWriter writer, NameProvider nameProvider, WasmHollowFunctionType[] functionTypes) -
Method Summary
Modifier and TypeMethodDescriptionvoidfunction(int typeIndex) intvoidglobal(WasmHollowType type, boolean mutable) intvoidmemory(int minSize, int maxSize) voidstartEntry(String module, String name) Methods inherited from class org.teavm.backend.wasm.disasm.BaseDisassemblyListener
writeBlockType, writeFieldRef, writeFunctionRef, writeGlobalRef, writeLocalRef, writeType, writeType, writeTypeRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teavm.backend.wasm.parser.ImportSectionListener
endEntry
-
Constructor Details
-
DisassemblyImportSectionListener
public DisassemblyImportSectionListener(DisassemblyWriter writer, NameProvider nameProvider, WasmHollowFunctionType[] functionTypes)
-
-
Method Details
-
functionCount
public int functionCount() -
globalCount
public int globalCount() -
startEntry
- Specified by:
startEntryin interfaceImportSectionListener
-
function
public void function(int typeIndex) - Specified by:
functionin interfaceImportSectionListener
-
global
- Specified by:
globalin interfaceImportSectionListener
-
memory
public void memory(int minSize, int maxSize) - Specified by:
memoryin interfaceImportSectionListener
-