Class BaseSectionParser

java.lang.Object
org.teavm.backend.wasm.parser.BaseSectionParser
Direct Known Subclasses:
CodeParser, CodeSectionParser, FunctionSectionParser, GlobalSectionParser, ImportSectionParser, NameSectionParser, TypeSectionParser

public abstract class BaseSectionParser extends Object
  • Field Details

  • Constructor Details

    • BaseSectionParser

      public BaseSectionParser()
  • Method Details

    • parse

      public void parse(AddressListener addressListener, byte[] data)
    • parse

      public void parse(WasmBinaryReader reader)
    • parseContent

      protected abstract void parseContent()
    • reportAddress

      protected void reportAddress()
    • readSignedLEB

      protected int readSignedLEB()
    • readLEB

      protected int readLEB()
    • readSignedLongLEB

      protected long readSignedLongLEB()
    • readLongLEB

      protected long readLongLEB()
    • readFixedInt

      protected int readFixedInt()
    • readFixedLong

      protected long readFixedLong()
    • readString

      protected String readString()