Package org.teavm.backend.wasm.disasm
Class DisassemblyTypeSectionListener
java.lang.Object
org.teavm.backend.wasm.disasm.BaseDisassemblyListener
org.teavm.backend.wasm.disasm.DisassemblyTypeSectionListener
- All Implemented Interfaces:
SectionListener,TypeSectionListener
public class DisassemblyTypeSectionListener
extends BaseDisassemblyListener
implements TypeSectionListener
-
Field Summary
Fields inherited from class org.teavm.backend.wasm.disasm.BaseDisassemblyListener
nameProvider, writer -
Constructor Summary
ConstructorsConstructorDescriptionDisassemblyTypeSectionListener(DisassemblyWriter writer, NameProvider nameProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidendType()voidfield(WasmHollowStorageType hollowType, boolean mutable) voidfuncType(int paramCount) voidfuncTypeResults(int returnCount) voidresultType(WasmHollowType type) voidvoidstartRecType(int count) voidstartStructType(int fieldCount) voidstartType(int index, boolean open, int[] supertypes) 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.SectionListener
sectionEnd, sectionStart
-
Constructor Details
-
DisassemblyTypeSectionListener
-
-
Method Details
-
startRecType
public void startRecType(int count) - Specified by:
startRecTypein interfaceTypeSectionListener
-
endRecType
public void endRecType()- Specified by:
endRecTypein interfaceTypeSectionListener
-
startType
public void startType(int index, boolean open, int[] supertypes) - Specified by:
startTypein interfaceTypeSectionListener
-
startArrayType
public void startArrayType()- Specified by:
startArrayTypein interfaceTypeSectionListener
-
endArrayType
public void endArrayType()- Specified by:
endArrayTypein interfaceTypeSectionListener
-
startStructType
public void startStructType(int fieldCount) - Specified by:
startStructTypein interfaceTypeSectionListener
-
field
- Specified by:
fieldin interfaceTypeSectionListener
-
endStructType
public void endStructType()- Specified by:
endStructTypein interfaceTypeSectionListener
-
funcType
public void funcType(int paramCount) - Specified by:
funcTypein interfaceTypeSectionListener
-
funcTypeResults
public void funcTypeResults(int returnCount) - Specified by:
funcTypeResultsin interfaceTypeSectionListener
-
resultType
- Specified by:
resultTypein interfaceTypeSectionListener
-
endFuncType
public void endFuncType()- Specified by:
endFuncTypein interfaceTypeSectionListener
-
endType
public void endType()- Specified by:
endTypein interfaceTypeSectionListener
-
getFunctionTypes
-