Interface CodeListener

All Known Implementing Classes:
ControlFlowParser, DisassemblyCodeListener

public interface CodeListener
  • Field Details

  • Method Details

    • error

      default void error(int depth)
    • startBlock

      default int startBlock(boolean loop, WasmHollowType type)
    • startConditionalBlock

      default int startConditionalBlock(WasmHollowType type)
    • startElseSection

      default void startElseSection(int token)
    • startTry

      default int startTry(WasmHollowType type)
    • startCatch

      default void startCatch(int tagIndex)
    • endBlock

      default void endBlock(int token, boolean loop)
    • branch

      default void branch(BranchOpcode opcode, int depth, int target)
    • castBranch

      default void castBranch(boolean success, int depth, int target, WasmHollowType.Reference sourceType, WasmHollowType.Reference targetType)
    • tableBranch

      default void tableBranch(int[] depths, int[] targets, int defaultDepth, int defaultTarget)
    • throwInstruction

      default void throwInstruction(int tagIndex)
    • opcode

      default void opcode(Opcode opcode)
    • local

      default void local(LocalOpcode opcode, int index)
    • unary

      default void unary(WasmIntUnaryOperation opcode, WasmIntType type)
    • unary

      default void unary(WasmFloatUnaryOperation opcode, WasmFloatType type)
    • binary

      default void binary(WasmIntBinaryOperation opcode, WasmIntType type)
    • binary

      default void binary(WasmFloatBinaryOperation opcode, WasmFloatType type)
    • call

      default void call(int functionIndex)
    • indirectCall

      default void indirectCall(int typeIndex, int tableIndex)
    • loadInt32

      default void loadInt32(WasmInt32Subtype convertFrom, int align, int offset)
    • storeInt32

      default void storeInt32(WasmInt32Subtype convertTo, int align, int offset)
    • loadInt64

      default void loadInt64(WasmInt64Subtype convertFrom, int align, int offset)
    • storeInt64

      default void storeInt64(WasmInt64Subtype convertTo, int align, int offset)
    • loadFloat32

      default void loadFloat32(int align, int offset)
    • storeFloat32

      default void storeFloat32(int align, int offset)
    • loadFloat64

      default void loadFloat64(int align, int offset)
    • storeFloat64

      default void storeFloat64(int align, int offset)
    • convert

      default void convert(WasmNumType sourceType, WasmNumType targetType, boolean signed, boolean reinterpret)
    • memoryGrow

      default void memoryGrow()
    • memoryFill

      default void memoryFill()
    • memoryCopy

      default void memoryCopy()
    • int32Constant

      default void int32Constant(int value)
    • int64Constant

      default void int64Constant(long value)
    • float32Constant

      default void float32Constant(float value)
    • float64Constant

      default void float64Constant(double value)
    • nullConstant

      default void nullConstant(WasmHollowType.Reference type)
    • cast

      default void cast(WasmHollowType.Reference type)
    • test

      default void test(WasmHollowType.Reference type)
    • structNew

      default void structNew(int typeIndex)
    • structNewDefault

      default void structNewDefault(int typeIndex)
    • structGet

      default void structGet(WasmSignedType signedType, int typeIndex, int fieldIndex)
    • structSet

      default void structSet(int typeIndex, int fieldIndex)
    • arrayNewDefault

      default void arrayNewDefault(int typeIndex)
    • arrayNewFixed

      default void arrayNewFixed(int typeIndex, int size)
    • arrayGet

      default void arrayGet(WasmSignedType signedType, int typeIndex)
    • arraySet

      default void arraySet(int typeIndex)
    • arrayCopy

      default void arrayCopy(int targetTypeIndex, int sourceTypeIndex)
    • getGlobal

      default void getGlobal(int globalIndex)
    • setGlobal

      default void setGlobal(int globalIndex)
    • callReference

      default void callReference(int typeIndex)
    • functionReference

      default void functionReference(int functionIndex)
    • int31Reference

      default void int31Reference()
    • int31Get

      default void int31Get(WasmSignedType signedType)