Package org.teavm.backend.wasm.disasm
Class BaseDisassemblyListener
java.lang.Object
org.teavm.backend.wasm.disasm.BaseDisassemblyListener
- Direct Known Subclasses:
DisassemblyCodeListener,DisassemblyCodeSectionListener,DisassemblyGlobalSectionListener,DisassemblyImportSectionListener,DisassemblyTypeSectionListener
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBaseDisassemblyListener(DisassemblyWriter writer, NameProvider nameProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidwriteBlockType(WasmHollowType type) protected voidwriteFieldRef(int typeIndex, int index) protected voidwriteFunctionRef(int index) protected voidwriteGlobalRef(int index) protected voidwriteLocalRef(int functionIndex, int index) protected voidprotected voidwriteType(WasmHollowType type) protected voidwriteTypeRef(int index)
-
Field Details
-
writer
-
nameProvider
-
-
Constructor Details
-
BaseDisassemblyListener
-
-
Method Details
-
writeBlockType
-
writeType
-
writeType
-
writeGlobalRef
protected void writeGlobalRef(int index) -
writeFunctionRef
protected void writeFunctionRef(int index) -
writeTypeRef
protected void writeTypeRef(int index) -
writeFieldRef
protected void writeFieldRef(int typeIndex, int index) -
writeLocalRef
protected void writeLocalRef(int functionIndex, int index)
-