Package org.teavm.backend.wasm.parser
Class BaseSectionParser
java.lang.Object
org.teavm.backend.wasm.parser.BaseSectionParser
- Direct Known Subclasses:
CodeParser,CodeSectionParser,FunctionSectionParser,GlobalSectionParser,ImportSectionParser,NameSectionParser,TypeSectionParser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparse(AddressListener addressListener, byte[] data) voidparse(WasmBinaryReader reader) protected abstract voidprotected intprotected longprotected intreadLEB()protected longprotected intprotected longprotected Stringprotected void
-
Field Details
-
reader
-
-
Constructor Details
-
BaseSectionParser
public BaseSectionParser()
-
-
Method Details
-
parse
-
parse
-
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
-