Class DisassemblyCodeSectionListener
java.lang.Object
org.teavm.backend.wasm.disasm.BaseDisassemblyListener
org.teavm.backend.wasm.disasm.DisassemblyCodeSectionListener
- All Implemented Interfaces:
CodeSectionListener, SectionListener
public class DisassemblyCodeSectionListener
extends BaseDisassemblyListener
implements CodeSectionListener
-
Field Summary
Fields inherited from class BaseDisassemblyListener
nameProvider, writer -
Constructor Summary
ConstructorsConstructorDescriptionDisassemblyCodeSectionListener(DisassemblyWriter writer, NameProvider nameProvider) -
Method Summary
Modifier and TypeMethodDescriptioncode()voidbooleanfunctionStart(int index, int size) voidlocal(int start, int count, WasmHollowType type) voidlocalsStart(int count) voidvoidsetFunctionTypeRefs(int[] functionTypeRefs) voidsetFunctionTypes(WasmHollowFunctionType[] functionTypes) Methods inherited from class BaseDisassemblyListener
writeBlockType, writeFieldRef, writeFunctionRef, writeGlobalRef, writeLocalRef, writeType, writeType, writeTypeRefMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SectionListener
sectionStart
-
Constructor Details
-
DisassemblyCodeSectionListener
-
-
Method Details
-
setFunctionTypes
-
setFunctionTypeRefs
public void setFunctionTypeRefs(int[] functionTypeRefs) -
functionStart
public boolean functionStart(int index, int size) - Specified by:
functionStartin interfaceCodeSectionListener
-
localsStart
public void localsStart(int count) - Specified by:
localsStartin interfaceCodeSectionListener
-
local
- Specified by:
localin interfaceCodeSectionListener
-
code
- Specified by:
codein interfaceCodeSectionListener
-
functionEnd
public void functionEnd()- Specified by:
functionEndin interfaceCodeSectionListener
-
sectionEnd
public void sectionEnd()- Specified by:
sectionEndin interfaceSectionListener
-