Interface CodeListener

All Known Implementing Classes:
ControlFlowParser, DisassemblyCodeSectionListener

public interface CodeListener
  • Method Details

    • error

      default void error(int depth)
    • startBlock

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

      default int startConditionalBlock(WasmType type)
    • startElseSection

      default void startElseSection(int token)
    • endBlock

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

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

      default void tableBranch(int[] depths, int[] targets, int defaultDepth, int defaultTarget)
    • 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(WasmType sourceType, WasmType 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)