Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractImportNode - Class in io.github.eutro.jwasm.tree
-
A note that represents an import of a module.
- AbstractImportNode(String, String) - Constructor for class io.github.eutro.jwasm.tree.AbstractImportNode
-
Construct an
AbstractImportNode
with the given module and name. - AbstractInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a bytecode instruction.
- AbstractInsnNode(byte) - Constructor for class io.github.eutro.jwasm.tree.AbstractInsnNode
-
Construct an
AbstractInsnNode
with the given opcode. - accept(CodesVisitor) - Method in class io.github.eutro.jwasm.tree.CodesNode
-
Make the given
CodesVisitor
visit the codes of this node. - accept(DataSegmentsVisitor) - Method in class io.github.eutro.jwasm.tree.DataSegmentsNode
-
Make the given
DataSegmentsVisitor
visit all the data segments of this node. - accept(DataVisitor) - Method in class io.github.eutro.jwasm.tree.DataNode
-
Make the given
DataVisitor
visit this data segment. - accept(ElementSegmentsVisitor) - Method in class io.github.eutro.jwasm.tree.ElementSegmentsNode
-
Make the given
ElementSegmentsVisitor
visit all the element segments of this node. - accept(ElementVisitor) - Method in class io.github.eutro.jwasm.tree.ElementNode
-
Make the given
ElementVisitor
visit this element. - accept(ExportsVisitor) - Method in class io.github.eutro.jwasm.tree.ExportNode
-
Make the given
ExportsVisitor
visit this export. - accept(ExportsVisitor) - Method in class io.github.eutro.jwasm.tree.ExportsNode
-
Make the given
ExportsVisitor
visit all the exports of this node. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.AbstractInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.BlockInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.BreakInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.CallIndirectInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.CallInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.ConstInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.ElseInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.EndInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.ExprNode
-
Make the given
ExprVisitor
visit all the instructions of this node. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.FuncRefInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.IndexedMemInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.InsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.MemInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.NullInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.PrefixBinaryTableInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.PrefixInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.PrefixTableInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.SelectInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.TableBreakInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.TableInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.VariableInsnNode
-
Visit the given
ExprVisitor
with this instruction. - accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.VectorConstOrShuffleInsnNode
- accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.VectorInsnNode
- accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.VectorLaneInsnNode
- accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.VectorMemInsnNode
- accept(ExprVisitor) - Method in class io.github.eutro.jwasm.tree.VectorMemLaneInsnNode
- accept(FunctionsVisitor) - Method in class io.github.eutro.jwasm.tree.FuncNode
-
Make the given
FunctionsVisitor
visit this function type. - accept(FunctionsVisitor) - Method in class io.github.eutro.jwasm.tree.FunctionsNode
-
Make the given
FunctionsVisitor
visit all the function types of this node. - accept(GlobalsVisitor) - Method in class io.github.eutro.jwasm.tree.GlobalNode
-
Make the given
GlobalsVisitor
visit this global. - accept(GlobalsVisitor) - Method in class io.github.eutro.jwasm.tree.GlobalsNode
-
Make the given
GlobalsVisitor
visit all the globals of this node. - accept(ImportsVisitor) - Method in class io.github.eutro.jwasm.tree.AbstractImportNode
-
Visit the given
ImportsVisitor
with this import. - accept(ImportsVisitor) - Method in class io.github.eutro.jwasm.tree.FuncImportNode
- accept(ImportsVisitor) - Method in class io.github.eutro.jwasm.tree.GlobalImportNode
- accept(ImportsVisitor) - Method in class io.github.eutro.jwasm.tree.ImportsNode
-
Makes the given
ImportsVisitor
visit all the imports of this node. - accept(ImportsVisitor) - Method in class io.github.eutro.jwasm.tree.MemImportNode
- accept(ImportsVisitor) - Method in class io.github.eutro.jwasm.tree.TableImportNode
- accept(MemoriesVisitor) - Method in class io.github.eutro.jwasm.tree.MemoriesNode
-
Make the given
MemoriesVisitor
visit all the memories of this node. - accept(MemoriesVisitor) - Method in class io.github.eutro.jwasm.tree.MemoryNode
-
Make the given
MemoriesVisitor
visit this memory. - accept(ModuleVisitor) - Method in class io.github.eutro.jwasm.ModuleReader
-
Make the given
ModuleVisitor
visit the structure of the module. - accept(ModuleVisitor) - Method in class io.github.eutro.jwasm.tree.CustomNode
-
Make the given
ModuleVisitor
visit the section of this node. - accept(ModuleVisitor) - Method in class io.github.eutro.jwasm.tree.ModuleNode
-
Make the given
ModuleVisitor
visit the header and all the sections of this node. - accept(WastVisitor) - Method in class io.github.eutro.jwasm.sexp.wast.WastReader
-
Visit a
WastVisitor
with the statements in this script. - accept(TablesVisitor) - Method in class io.github.eutro.jwasm.tree.TableNode
-
Make the given
TablesVisitor
visit this table. - accept(TablesVisitor) - Method in class io.github.eutro.jwasm.tree.TablesNode
-
Make the given
TablesVisitor
visit all the tables of this node. - accept(TypesVisitor) - Method in class io.github.eutro.jwasm.tree.TypeNode
-
Make the given
TypesVisitor
visit this type. - accept(TypesVisitor) - Method in class io.github.eutro.jwasm.tree.TypesNode
-
Make the given
TypesVisitor
visit all the types of this node. - ActionVisitor - Class in io.github.eutro.jwasm.sexp.wast
-
A visitor which visits an action in a wast script.
- ActionVisitor() - Constructor for class io.github.eutro.jwasm.sexp.wast.ActionVisitor
-
Construct an
ActionVisitor
with no delegate. - ActionVisitor(ActionVisitor) - Constructor for class io.github.eutro.jwasm.sexp.wast.ActionVisitor
-
Construct an
ActionVisitor
with the given delegate. - align - Variable in class io.github.eutro.jwasm.tree.MemInsnNode
-
The
align
of the argument. - align - Variable in class io.github.eutro.jwasm.tree.VectorMemInsnNode
- align - Variable in class io.github.eutro.jwasm.tree.VectorMemLaneInsnNode
- ALIGN - Enum constant in enum class io.github.eutro.jwasm.sexp.WatReader.MemArgPart.Type
- allOpcodes() - Static method in class io.github.eutro.jwasm.attrs.InsnAttributes
-
Get all the opcodes that JWasm currently recognises.
- and(StackType) - Method in class io.github.eutro.jwasm.attrs.StackType
-
Combine this stack type with another, concatenating their respective pops and pushes.
- ARITHMETIC - Enum constant in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.NanType
B
- BaosByteOutputStream() - Constructor for class io.github.eutro.jwasm.ByteOutputStream.BaosByteOutputStream
-
Construct a
ByteOutputStream.BaosByteOutputStream
with an emptystream
. - BaosByteOutputStream(ByteArrayOutputStream) - Constructor for class io.github.eutro.jwasm.ByteOutputStream.BaosByteOutputStream
-
Construct a
ByteOutputStream.BaosByteOutputStream
with an existingstream
. - base - Variable in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.ExpType
- BaseVisitor<T extends BaseVisitor<T>> - Class in io.github.eutro.jwasm
-
A base for delegating
*Visitor
classes. - BaseVisitor() - Constructor for class io.github.eutro.jwasm.BaseVisitor
-
Construct a visitor with no delegate.
- BaseVisitor(T) - Constructor for class io.github.eutro.jwasm.BaseVisitor
-
Construct a visitor with a delegate.
- binOp(byte) - Static method in class io.github.eutro.jwasm.attrs.StackType
-
A binary operator that pops two values and pushes one value, all the same type.
- BLOCK - Static variable in class io.github.eutro.jwasm.Opcodes
- BlockInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- BlockInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a block instruction.
- BlockInsnNode(byte, BlockType) - Constructor for class io.github.eutro.jwasm.tree.BlockInsnNode
-
Construct a
BlockInsnNode
with the given opcode and block type. - blockType - Variable in class io.github.eutro.jwasm.tree.BlockInsnNode
-
The type of the block.
- BlockType - Class in io.github.eutro.jwasm
-
The block type of a block instruction.
- BlockType(BlockType.Kind, int) - Constructor for class io.github.eutro.jwasm.BlockType
-
Construct a block type with the given kind and value.
- BlockType.Kind - Enum Class in io.github.eutro.jwasm
-
The kind of block type.
- BR - Static variable in class io.github.eutro.jwasm.Opcodes
- BR_IF - Static variable in class io.github.eutro.jwasm.Opcodes
- BR_TABLE - Static variable in class io.github.eutro.jwasm.Opcodes
- BreakInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- BreakInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a break instruction.
- BreakInsnNode(byte, int) - Constructor for class io.github.eutro.jwasm.tree.BreakInsnNode
-
Construct a
BreakInsnNode
with the given opcode and label. - ByteArrayConvertible - Interface in io.github.eutro.jwasm
-
An interface for classes that can be converted to a byte array using
ByteArrayConvertible.toByteArray()
. - ByteBufferByteInputStream(ByteBuffer) - Constructor for class io.github.eutro.jwasm.ByteInputStream.ByteBufferByteInputStream
-
Construct a
ByteInputStream.ByteBufferByteInputStream
from a byte buffer. - ByteInputStream<E extends Exception> - Interface in io.github.eutro.jwasm
-
An interface for WebAssembly bytecode sources, with methods for reading common WebAssembly types, such as LEB128 encoded numbers.
- ByteInputStream.ByteBufferByteInputStream - Class in io.github.eutro.jwasm
-
A
ByteInputStream
that reads from aByteBuffer
. - ByteInputStream.InputStreamByteInputStream - Class in io.github.eutro.jwasm
-
A
ByteInputStream
that reads from anInputStream
. - ByteInputStream.SectionInputStream<E extends Exception> - Class in io.github.eutro.jwasm
-
A section of a stream, as returned by
ByteInputStream.sectionStream(int)
. - ByteList - Class in io.github.eutro.jwasm
-
A
List
implementation which wraps a primitive byte array. - ByteList(byte[]) - Constructor for class io.github.eutro.jwasm.ByteList
-
Construct a wrapper over the given primitive byte array.
- byteOpcode(byte) - Static method in class io.github.eutro.jwasm.attrs.Opcode
-
Construct a single byte opcode.
- ByteOutputStream<E extends Exception> - Interface in io.github.eutro.jwasm
-
An interface for writing WebAssembly bytecode, with methods for writing common WebAssembly types, such as LEB128 encoded numbers.
- ByteOutputStream.BaosByteOutputStream - Class in io.github.eutro.jwasm
-
A
ByteOutputStream
that writes to aByteArrayOutputStream
. - ByteOutputStream.Dummy - Class in io.github.eutro.jwasm
-
A dummy
ByteOutputStream
that ignores writes. - bytes - Variable in class io.github.eutro.jwasm.tree.VectorConstOrShuffleInsnNode
C
- CALL - Static variable in class io.github.eutro.jwasm.Opcodes
- CALL_INDIRECT - Static variable in class io.github.eutro.jwasm.Opcodes
- CallIndirectInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- CallIndirectInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a call_indirect instruction.
- CallIndirectInsnNode(int, int) - Constructor for class io.github.eutro.jwasm.tree.CallIndirectInsnNode
-
Construct a
CallIndirectInsnNode
with the given table and type. - CallInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- CallInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a call instruction.
- CallInsnNode(int) - Constructor for class io.github.eutro.jwasm.tree.CallInsnNode
-
Construct a
CallInsnNode
with the given function. - CANONICAL - Enum constant in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.NanType
- check(Object) - Method in interface io.github.eutro.jwasm.sexp.wast.WastReader.Checkable
- check(Object) - Method in class io.github.eutro.jwasm.sexp.wast.WastReader.ExternRef
- check(Object) - Method in class io.github.eutro.jwasm.sexp.wast.WastReader.FuncRef
- check(Object, Object) - Static method in interface io.github.eutro.jwasm.sexp.wast.WastReader.Checkable
- checkType(int) - Method in class io.github.eutro.jwasm.sexp.internal.DFA
- CodeNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a the code of a function.
- CodeNode(byte[], ExprNode) - Constructor for class io.github.eutro.jwasm.tree.CodeNode
-
Construct a
CodeNode
with the given locals and expr. - codes - Variable in class io.github.eutro.jwasm.tree.CodesNode
-
The vector of
CodeNode
s. - codes - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
The codes of this module.
- CodesNode - Class in io.github.eutro.jwasm.tree
-
A node that represents the code section of a module.
- CodesNode() - Constructor for class io.github.eutro.jwasm.tree.CodesNode
-
Construct a visitor with no delegate.
- CodesNode(CodesVisitor) - Constructor for class io.github.eutro.jwasm.tree.CodesNode
-
Construct a visitor with a delegate.
- CodesVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits the code section of a module.
- CodesVisitor() - Constructor for class io.github.eutro.jwasm.CodesVisitor
-
Construct a visitor with no delegate.
- CodesVisitor(CodesVisitor) - Constructor for class io.github.eutro.jwasm.CodesVisitor
-
Construct a visitor with a delegate.
- CodesWriter - Class in io.github.eutro.jwasm
-
A
CodesVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - CodesWriter() - Constructor for class io.github.eutro.jwasm.CodesWriter
-
Constructs a writer with no
end callback
. - CodesWriter(Consumer<CodesWriter>) - Constructor for class io.github.eutro.jwasm.CodesWriter
-
Constructs a writer with an optional
end callback
. - col - Variable in class io.github.eutro.jwasm.sexp.SrcLoc
-
The column number.
- ConstInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- ConstInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a const instruction.
- ConstInsnNode(Object) - Constructor for class io.github.eutro.jwasm.tree.ConstInsnNode
-
Construct a
ConstInsnNode
with the given value. - convertOp(byte, byte) - Static method in class io.github.eutro.jwasm.attrs.StackType
-
An operator that pops a
from
value and pushes ato
value. - count() - Method in class io.github.eutro.jwasm.CodesWriter
- count() - Method in class io.github.eutro.jwasm.DataSegmentsWriter
- count() - Method in class io.github.eutro.jwasm.ElementSegmentsWriter
- count() - Method in class io.github.eutro.jwasm.ExportsWriter
- count() - Method in class io.github.eutro.jwasm.FunctionsWriter
- count() - Method in class io.github.eutro.jwasm.GlobalsWriter
- count() - Method in class io.github.eutro.jwasm.ImportsWriter
- count() - Method in class io.github.eutro.jwasm.MemoriesWriter
- count() - Method in class io.github.eutro.jwasm.TablesWriter
- count() - Method in class io.github.eutro.jwasm.TypesWriter
- count() - Method in interface io.github.eutro.jwasm.VectorWriter
- CustomNode - Class in io.github.eutro.jwasm.tree
-
A node which represents a custom section of a module.
- CustomNode(String, byte[]) - Constructor for class io.github.eutro.jwasm.tree.CustomNode
-
Construct a
CustomNode
with the given name and data. - customs - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
An array of lists of
CustomNode
s that this module has.
D
- data - Variable in class io.github.eutro.jwasm.tree.CustomNode
-
The raw contents of the custom section.
- DATA_DROP - Static variable in class io.github.eutro.jwasm.Opcodes
- DATA_EXPLICIT - Static variable in class io.github.eutro.jwasm.Opcodes
- DATA_PASSIVE - Static variable in class io.github.eutro.jwasm.Opcodes
- dataCount - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
The data count of this module.
- DataNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a data segment in the data section of a module.
- DataNode() - Constructor for class io.github.eutro.jwasm.tree.DataNode
-
Construct a visitor with no delegate.
- DataNode(byte[]) - Constructor for class io.github.eutro.jwasm.tree.DataNode
-
Constructs a passive
DataNode
with only an init array. - DataNode(byte[], int, ExprNode) - Constructor for class io.github.eutro.jwasm.tree.DataNode
-
Construct an active
DataNode
with the given init array, memory index and offset. - DataNode(byte[], ExprNode) - Constructor for class io.github.eutro.jwasm.tree.DataNode
-
Construct an active
DataNode
with the given init array and offset. - DataNode(DataVisitor) - Constructor for class io.github.eutro.jwasm.tree.DataNode
-
Construct a visitor with a delegate.
- datas - Variable in class io.github.eutro.jwasm.tree.DataSegmentsNode
-
The vector of
DataNode
s. - datas - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
The datas of this module.
- DataSegmentsNode - Class in io.github.eutro.jwasm.tree
-
A node that represents the data section of a module.
- DataSegmentsNode() - Constructor for class io.github.eutro.jwasm.tree.DataSegmentsNode
-
Construct a visitor with no delegate.
- DataSegmentsNode(DataSegmentsVisitor) - Constructor for class io.github.eutro.jwasm.tree.DataSegmentsNode
-
Construct a visitor with a delegate.
- DataSegmentsVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits the data section of a module.
- DataSegmentsVisitor() - Constructor for class io.github.eutro.jwasm.DataSegmentsVisitor
-
Construct a visitor with no delegate.
- DataSegmentsVisitor(DataSegmentsVisitor) - Constructor for class io.github.eutro.jwasm.DataSegmentsVisitor
-
Construct a visitor with a delegate.
- DataSegmentsWriter - Class in io.github.eutro.jwasm
-
A
DataSegmentsVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - DataSegmentsWriter() - Constructor for class io.github.eutro.jwasm.DataSegmentsWriter
-
Constructs a writer with no
end callback
. - DataSegmentsWriter(Consumer<DataSegmentsWriter>) - Constructor for class io.github.eutro.jwasm.DataSegmentsWriter
-
Constructs a writer with an optional
end callback
. - DataVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits a data segment in the data section of a module.
- DataVisitor() - Constructor for class io.github.eutro.jwasm.DataVisitor
-
Construct a visitor with no delegate.
- DataVisitor(DataVisitor) - Constructor for class io.github.eutro.jwasm.DataVisitor
-
Construct a visitor with a delegate.
- DataWriter - Class in io.github.eutro.jwasm
-
A
DataVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - DataWriter() - Constructor for class io.github.eutro.jwasm.DataWriter
-
Constructs a writer with no
end callback
. - DataWriter(Consumer<byte[]>) - Constructor for class io.github.eutro.jwasm.DataWriter
-
Constructs a writer with an optional
end callback
. - DEC - Enum constant in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.ExpType
- decodeName(byte[]) - Static method in interface io.github.eutro.jwasm.ByteInputStream
-
Decode UTF-8 bytes to a string, throwing a validation exception if invalid.
- DEFAULT - Static variable in class io.github.eutro.jwasm.sexp.WatParser
-
The default WatParser, with no extensions enabled.
- defaultLabel - Variable in class io.github.eutro.jwasm.tree.TableBreakInsnNode
-
The index of the default label.
- DFA - Class in io.github.eutro.jwasm.sexp.internal
- DFA.State - Class in io.github.eutro.jwasm.sexp.internal
- dim - Variable in enum class io.github.eutro.jwasm.attrs.VectorShape
-
The number of lanes in this shape.
- dl - Variable in class io.github.eutro.jwasm.BaseVisitor
-
The visitor to delegate all method calls to, or
null
. - doubleLimit - Variable in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.ExpType
- doubleValue() - Method in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- DROP - Static variable in class io.github.eutro.jwasm.Opcodes
- Dummy() - Constructor for class io.github.eutro.jwasm.ByteOutputStream.Dummy
- DUMMY - Static variable in interface io.github.eutro.jwasm.ByteOutputStream
-
A dummy
ByteOutputStream
whose writes do nothing.
E
- ELEM_DROP - Static variable in class io.github.eutro.jwasm.Opcodes
- ELEM_EXPRESSIONS - Static variable in class io.github.eutro.jwasm.Opcodes
- ELEM_PASSIVE_OR_DECLARATIVE - Static variable in class io.github.eutro.jwasm.Opcodes
- ELEM_TABLE_INDEX - Static variable in class io.github.eutro.jwasm.Opcodes
- ElementNode - Class in io.github.eutro.jwasm.tree
-
A node that represents an element segment in the element section of a module.
- ElementNode() - Constructor for class io.github.eutro.jwasm.tree.ElementNode
-
Construct a visitor with no delegate.
- ElementNode(ElementVisitor) - Constructor for class io.github.eutro.jwasm.tree.ElementNode
-
Construct a visitor with a delegate.
- ElementSegmentsNode - Class in io.github.eutro.jwasm.tree
-
A node that represents the element section of a module.
- ElementSegmentsNode() - Constructor for class io.github.eutro.jwasm.tree.ElementSegmentsNode
-
Construct a visitor with no delegate.
- ElementSegmentsNode(ElementSegmentsVisitor) - Constructor for class io.github.eutro.jwasm.tree.ElementSegmentsNode
-
Construct a visitor with a delegate.
- ElementSegmentsVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits the element section of a module.
- ElementSegmentsVisitor() - Constructor for class io.github.eutro.jwasm.ElementSegmentsVisitor
-
Construct a visitor with no delegate.
- ElementSegmentsVisitor(ElementSegmentsVisitor) - Constructor for class io.github.eutro.jwasm.ElementSegmentsVisitor
-
Construct a visitor with a delegate.
- ElementSegmentsWriter - Class in io.github.eutro.jwasm
-
A
ElementSegmentsVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - ElementSegmentsWriter() - Constructor for class io.github.eutro.jwasm.ElementSegmentsWriter
-
Constructs a writer with no
end callback
. - ElementSegmentsWriter(Consumer<ElementSegmentsWriter>) - Constructor for class io.github.eutro.jwasm.ElementSegmentsWriter
-
Constructs a writer with an optional
end callback
. - ElementVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits an element segment in the element section of a module.
- ElementVisitor() - Constructor for class io.github.eutro.jwasm.ElementVisitor
-
Construct a visitor with no delegate.
- ElementVisitor(ElementVisitor) - Constructor for class io.github.eutro.jwasm.ElementVisitor
-
Construct a visitor with a delegate.
- ElementWriter - Class in io.github.eutro.jwasm
-
A
DataVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - ElementWriter() - Constructor for class io.github.eutro.jwasm.ElementWriter
-
Constructs a writer with no
end callback
. - ElementWriter(Consumer<byte[]>) - Constructor for class io.github.eutro.jwasm.ElementWriter
-
Constructs a writer with an optional
end callback
. - ELEMKIND - Static variable in class io.github.eutro.jwasm.Opcodes
- elems - Variable in class io.github.eutro.jwasm.tree.ElementSegmentsNode
-
The vector of
ElementNode
s. - elems - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
The element segments of this module.
- ELSE - Static variable in class io.github.eutro.jwasm.Opcodes
- ElseInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- ElseInsnNode - Class in io.github.eutro.jwasm.tree
- ElseInsnNode() - Constructor for class io.github.eutro.jwasm.tree.ElseInsnNode
-
Construct an
ElseInsnNode
. - EMPTY_TYPE - Static variable in class io.github.eutro.jwasm.Opcodes
- END - Static variable in class io.github.eutro.jwasm.Opcodes
- EndInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- EndInsnNode - Class in io.github.eutro.jwasm.tree
- EndInsnNode() - Constructor for class io.github.eutro.jwasm.tree.EndInsnNode
-
Constructs an
EndInsnNode
. - equals(Object) - Method in class io.github.eutro.jwasm.attrs.Opcode
- equals(Object) - Method in class io.github.eutro.jwasm.attrs.StackType
- equals(Object) - Method in class io.github.eutro.jwasm.sexp.internal.Token
- equals(Object) - Method in class io.github.eutro.jwasm.sexp.wast.WastReader.ExternRef
- equals(Object) - Method in class io.github.eutro.jwasm.tree.TypeNode
- expect() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Get a byte from the stream, throwing a
ValidationException
if the end of the stream was reached. - expect() - Method in class io.github.eutro.jwasm.ByteInputStream.SectionInputStream
-
Get a byte from the stream, throwing a
ValidationException
if the end of the stream was reached. - expect() - Method in class io.github.eutro.jwasm.sexp.internal.ListParser
- expect(String) - Method in class io.github.eutro.jwasm.sexp.internal.ListParser
- expectBigInt(Object) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- expectClass(Class<T>, Object) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- expectEmpty() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Expect the stream to be empty, throwing a
ValidationException
if it is not. - expectEmpty() - Method in class io.github.eutro.jwasm.ByteInputStream.SectionInputStream
-
Expect the stream to be empty, throwing a
ValidationException
if it is not. - expectEnd() - Method in class io.github.eutro.jwasm.sexp.internal.ListParser
- expectEq(Object, Object) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- expectList(Object) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- expMarker - Variable in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.ExpType
- exponent - Variable in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- ExportNode - Class in io.github.eutro.jwasm.tree
-
A node that represents an export of a module.
- ExportNode(String, byte, int) - Constructor for class io.github.eutro.jwasm.tree.ExportNode
-
Construct an
ExportNode
with the given name, type and index. - exports - Variable in class io.github.eutro.jwasm.tree.ExportsNode
-
The vector of
ExportNode
s. - exports - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
The exports of this module.
- EXPORTS_FUNC - Static variable in class io.github.eutro.jwasm.Opcodes
- EXPORTS_GLOBAL - Static variable in class io.github.eutro.jwasm.Opcodes
- EXPORTS_MEM - Static variable in class io.github.eutro.jwasm.Opcodes
- EXPORTS_TABLE - Static variable in class io.github.eutro.jwasm.Opcodes
- ExportsNode - Class in io.github.eutro.jwasm.tree
-
A node that represents the export section of a module.
- ExportsNode() - Constructor for class io.github.eutro.jwasm.tree.ExportsNode
-
Construct a visitor with no delegate.
- ExportsNode(ExportsVisitor) - Constructor for class io.github.eutro.jwasm.tree.ExportsNode
-
Construct a visitor with a delegate.
- ExportsVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits the export section of a module.
- ExportsVisitor() - Constructor for class io.github.eutro.jwasm.ExportsVisitor
-
Construct a visitor with no delegate.
- ExportsVisitor(ExportsVisitor) - Constructor for class io.github.eutro.jwasm.ExportsVisitor
-
Construct a visitor with a delegate.
- ExportsWriter - Class in io.github.eutro.jwasm
-
A
ExportsVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - ExportsWriter() - Constructor for class io.github.eutro.jwasm.ExportsWriter
-
Constructs a writer with no
end callback
. - ExportsWriter(Consumer<ExportsWriter>) - Constructor for class io.github.eutro.jwasm.ExportsWriter
-
Constructs a writer with an optional
end callback
. - expr - Variable in class io.github.eutro.jwasm.tree.CodeNode
-
The body of the function.
- ExprNode - Class in io.github.eutro.jwasm.tree
-
A node that represents an expression.
- ExprNode() - Constructor for class io.github.eutro.jwasm.tree.ExprNode
-
Construct a visitor with no delegate.
- ExprNode(ExprVisitor) - Constructor for class io.github.eutro.jwasm.tree.ExprNode
-
Construct a visitor with a delegate.
- ExprVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits an expression.
- ExprVisitor() - Constructor for class io.github.eutro.jwasm.ExprVisitor
-
Construct a visitor with no delegate.
- ExprVisitor(ExprVisitor) - Constructor for class io.github.eutro.jwasm.ExprVisitor
-
Construct a visitor with a delegate.
- ExprWriter - Class in io.github.eutro.jwasm
-
A
DataVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - ExprWriter() - Constructor for class io.github.eutro.jwasm.ExprWriter
-
Constructs a writer with no
end callback
. - ExprWriter(Consumer<byte[]>) - Constructor for class io.github.eutro.jwasm.ExprWriter
-
Constructs a writer with an optional
end callback
. - expType - Variable in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- ExternRef(BigInteger) - Constructor for class io.github.eutro.jwasm.sexp.wast.WastReader.ExternRef
- EXTERNREF - Static variable in class io.github.eutro.jwasm.Opcodes
F
- F32 - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_ABS - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_ADD - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_CEIL - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_CONST - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_CONVERT_I32_S - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_CONVERT_I32_U - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_CONVERT_I64_S - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_CONVERT_I64_U - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_COPYSIGN - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_DEMOTE_F64 - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_DIV - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_EQ - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_FLOOR - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_GE - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_GT - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_LE - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_LOAD - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_LT - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_MAX - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_MIN - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_MUL - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_NE - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_NEAREST - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_NEG - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_REINTERPRET_I32 - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_SQRT - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_STORE - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_SUB - Static variable in class io.github.eutro.jwasm.Opcodes
- F32_TRUNC - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4 - Enum constant in enum class io.github.eutro.jwasm.attrs.VectorShape
-
Four 32-bit floats.
- F32X4_ABS - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_ADD - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_CEIL - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_CONVERT_I32X4_S - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_CONVERT_I32X4_U - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_DEMOTE_F64X2_ZERO - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_DIV - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_EQ - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_EXTRACT_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_FLOOR - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_GE - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_GT - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_LE - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_LT - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_MAX - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_MIN - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_MUL - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_NE - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_NEAREST - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_NEG - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_PMAX - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_PMIN - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_REPLACE_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_SPLAT - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_SQRT - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_SUB - Static variable in class io.github.eutro.jwasm.Opcodes
- F32X4_TRUNC - Static variable in class io.github.eutro.jwasm.Opcodes
- F64 - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_ABS - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_ADD - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_CEIL - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_CONST - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_CONVERT_I32_S - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_CONVERT_I32_U - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_CONVERT_I64_S - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_CONVERT_I64_U - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_COPYSIGN - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_DIV - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_EQ - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_FLOOR - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_GE - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_GT - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_LE - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_LOAD - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_LT - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_MAX - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_MIN - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_MUL - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_NE - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_NEAREST - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_NEG - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_PROMOTE_F32 - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_REINTERPRET_I64 - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_SQRT - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_STORE - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_SUB - Static variable in class io.github.eutro.jwasm.Opcodes
- F64_TRUNC - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2 - Enum constant in enum class io.github.eutro.jwasm.attrs.VectorShape
-
Two 64-bit floats.
- F64X2_ABS - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_ADD - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_CEIL - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_CONVERT_LOW_I32X4_S - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_CONVERT_LOW_I32X4_U - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_DIV - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_EQ - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_EXTRACT_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_FLOOR - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_GE - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_GT - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_LE - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_LT - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_MAX - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_MIN - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_MUL - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_NE - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_NEAREST - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_NEG - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_PMAX - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_PMIN - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_PROMOTE_LOW_F32X4 - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_REPLACE_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_SPLAT - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_SQRT - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_SUB - Static variable in class io.github.eutro.jwasm.Opcodes
- F64X2_TRUNC - Static variable in class io.github.eutro.jwasm.Opcodes
- firstIndex - Variable in class io.github.eutro.jwasm.tree.PrefixBinaryTableInsnNode
-
The index of the target table.
- floatLimit - Variable in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.ExpType
- floatValue() - Method in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- fromBytes(byte[]) - Static method in class io.github.eutro.jwasm.ModuleReader
-
Construct a
ModuleReader
that reads from the given byte array. - fromBytes(byte[], int, int) - Static method in class io.github.eutro.jwasm.ModuleReader
-
Construct a
ModuleReader
that reads from a subarray of the given byte array, starting atoffset
with a length oflen
bytes. - fromCharSequence(CharSequence) - Static method in class io.github.eutro.jwasm.sexp.WatReader
-
Construct a reader from the given source character sequence.
- fromInputStream(InputStream) - Static method in class io.github.eutro.jwasm.ModuleReader
-
Construct a
ModuleReader
that reads from the given input stream. - fromInputStream(InputStream) - Static method in class io.github.eutro.jwasm.sexp.WatReader
-
Construct a reader from the given input stream.
- fromSexps(List<Object>) - Static method in class io.github.eutro.jwasm.sexp.wast.WastReader
-
Create a
WastReader
from a list ofparsed
s-expressions. - fromSource(ByteInputStream<E>) - Static method in class io.github.eutro.jwasm.sexp.wast.WastReader
-
Create a
WastReader
from a source stream. - fromSource(InputStream) - Static method in class io.github.eutro.jwasm.sexp.wast.WastReader
-
Create a
WastReader
from a source stream. - fromSource(CharSequence) - Static method in class io.github.eutro.jwasm.sexp.wast.WastReader
-
Create a
WastReader
from a source string. - FuncImportNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a function import.
- FuncImportNode(String, String, int) - Constructor for class io.github.eutro.jwasm.tree.FuncImportNode
-
Construct a
FuncImportNode
with the given module, name and type. - FuncNode - Class in io.github.eutro.jwasm.tree
-
A node that represents the type of a function that is defined in the module.
- FuncNode(int) - Constructor for class io.github.eutro.jwasm.tree.FuncNode
-
Construct a
FuncNode
with the given type. - FuncRef() - Constructor for class io.github.eutro.jwasm.sexp.wast.WastReader.FuncRef
- FUNCREF - Static variable in class io.github.eutro.jwasm.Opcodes
- FuncRefInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- FuncRefInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a ref.func instruction.
- FuncRefInsnNode(int) - Constructor for class io.github.eutro.jwasm.tree.FuncRefInsnNode
-
Construct a
FuncRefInsnNode
with the given function. - funcs - Variable in class io.github.eutro.jwasm.tree.FunctionsNode
-
The vector of
FuncNode
s in this module. - funcs - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
The function types of this module.
- function - Variable in class io.github.eutro.jwasm.tree.CallInsnNode
-
The index of the function to call.
- function - Variable in class io.github.eutro.jwasm.tree.FuncRefInsnNode
-
The index of the function to reference.
- FunctionsNode - Class in io.github.eutro.jwasm.tree
-
A node that represents the function section of a module.
- FunctionsNode() - Constructor for class io.github.eutro.jwasm.tree.FunctionsNode
-
Construct a visitor with no delegate.
- FunctionsNode(FunctionsVisitor) - Constructor for class io.github.eutro.jwasm.tree.FunctionsNode
-
Construct a visitor with a delegate.
- FunctionsVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits the function section of a module.
- FunctionsVisitor() - Constructor for class io.github.eutro.jwasm.FunctionsVisitor
-
Construct a visitor with no delegate.
- FunctionsVisitor(FunctionsVisitor) - Constructor for class io.github.eutro.jwasm.FunctionsVisitor
-
Construct a visitor with a delegate.
- FunctionsWriter - Class in io.github.eutro.jwasm
-
A
FunctionsVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - FunctionsWriter() - Constructor for class io.github.eutro.jwasm.FunctionsWriter
-
Constructs a writer with no
end callback
. - FunctionsWriter(Consumer<FunctionsWriter>) - Constructor for class io.github.eutro.jwasm.FunctionsWriter
-
Constructs a writer with an optional
end callback
. - functype(int) - Static method in class io.github.eutro.jwasm.BlockType
-
Create a block type from a type index.
- FUNCTYPE - Enum constant in enum class io.github.eutro.jwasm.BlockType.Kind
-
A function type.
G
- get() - Method in class io.github.eutro.jwasm.BlockType
-
Get the integer value of this block type.
- get() - Method in class io.github.eutro.jwasm.ByteInputStream.ByteBufferByteInputStream
-
Get a single unsigned byte from the stream.
- get() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Get a single unsigned byte from the stream.
- get() - Method in class io.github.eutro.jwasm.ByteInputStream.InputStreamByteInputStream
-
Get a single unsigned byte from the stream.
- get() - Method in class io.github.eutro.jwasm.ByteInputStream.SectionInputStream
-
Get a single unsigned byte from the stream.
- get() - Method in class io.github.eutro.jwasm.sexp.internal.LineCountingPushbackByteInputStream
- get(byte[], int, int) - Method in class io.github.eutro.jwasm.ByteInputStream.ByteBufferByteInputStream
-
Get bytes in bulk from the stream.
- get(byte[], int, int) - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Get bytes in bulk from the stream.
- get(byte[], int, int) - Method in class io.github.eutro.jwasm.ByteInputStream.InputStreamByteInputStream
-
Get bytes in bulk from the stream.
- get(byte[], int, int) - Method in class io.github.eutro.jwasm.ByteInputStream.SectionInputStream
-
Get bytes in bulk from the stream.
- get(int) - Method in class io.github.eutro.jwasm.ByteList
- getBlockType() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Get a WebAssembly
blocktype
from the stream, which may be 0x40, avaltype
or a positive signed 33 bit integer type index. - getByteArray() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Read a vector of bytes from the stream.
- getCol() - Method in class io.github.eutro.jwasm.sexp.internal.LineCountingPushbackByteInputStream
- getCustoms(byte) - Method in class io.github.eutro.jwasm.tree.ModuleNode
-
Get the list of custom sections after a given known section, as described in
ModuleNode.customs
, creating the list if it does not exist yet. - getDFA() - Static method in class io.github.eutro.jwasm.sexp.internal.LexerDFA
- getDouble() - Method in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.NanType
- getFloat() - Method in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.NanType
- getFloat32() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Gets a 32 bit floating point value from the stream, in little endian byte order, throwing an exception if there aren't enough bytes in the stream.
- getFloat64() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Gets a 64 bit floating point value from the stream, in little endian byte order, throwing an exception if there aren't enough bytes in the stream.
- getLimits() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Read a WebAssembly
limit
from the stream, which is a minimum and an optional maximum. - getLine() - Method in class io.github.eutro.jwasm.sexp.internal.LineCountingPushbackByteInputStream
- getMemBits() - Method in class io.github.eutro.jwasm.attrs.InsnAttributes
-
Get the number of bits a memory instruction reads or writes.
- getMnemonic() - Method in class io.github.eutro.jwasm.attrs.InsnAttributes
-
Get the mnemonic of the instruction.
- getName() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Read a UTF-8 string (WebAssembly
name
) from the stream. - getOpcode() - Method in class io.github.eutro.jwasm.attrs.InsnAttributes
-
Get the opcode of the instruction.
- getSources() - Method in class io.github.eutro.jwasm.sexp.WatReader
-
Retrieve the sources map last set with
WatReader.setSources(Map)
, or null if it hasn't been called. - getType() - Method in class io.github.eutro.jwasm.attrs.InsnAttributes
-
Get the type of the instruction, if it is simple.
- getUInt32() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Gets a 32-bit unsigned integer from the stream, in little endian byte order, throwing an exception if there aren't enough bytes in the stream.
- getVarSInt32() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Gets an LEB128 encoded signed integer from the stream, throwing an exception if the stream ends before the full integer is read, or if the number exceeds 5 bytes.
- getVarSInt64() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Gets an LEB128 encoded signed integer from the stream, throwing an exception if the stream ends before the full integer is read, or if the number exceeds 10 bytes.
- getVarSIntX(int) - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Gets an LEB128 encoded signed integer from the stream, throwing an exception if the stream ends before the full integer is read, or if the number exceeds
bytes
bytes. - getVarSIntX0(int, long, int) - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Gets the rest of an LEB128 encoded signed integer from the stream, throwing an exception if the stream ends before the full integer is read, or if the number exceeds
bytes
bytes. - getVarUInt32() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Gets an LEB128 encoded unsigned integer from the stream, throwing an exception if the stream ends before the full integer is read, or if the number exceeds 5 bytes.
- getVarUIntX(int) - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Gets an LEB128 encoded unsigned integer from the stream, throwing an exception if the stream ends before the full integer is read, or if the number exceeds
bytes
bytes. - getVectorShape() - Method in class io.github.eutro.jwasm.attrs.InsnAttributes
-
Get the shape of the vector this instruction operates on, if any.
- getVisitTarget() - Method in class io.github.eutro.jwasm.attrs.InsnAttributes
-
Get the method of
ExprVisitor
that this instruction visits. - GLOBAL_GET - Static variable in class io.github.eutro.jwasm.Opcodes
- GLOBAL_SET - Static variable in class io.github.eutro.jwasm.Opcodes
- GlobalImportNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a global import.
- GlobalImportNode(String, String, GlobalTypeNode) - Constructor for class io.github.eutro.jwasm.tree.GlobalImportNode
-
Construct a
GlobalImportNode
with the given module, name and type. - GlobalNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a global of a module.
- GlobalNode(GlobalTypeNode, ExprNode) - Constructor for class io.github.eutro.jwasm.tree.GlobalNode
-
Construct a
GlobalNode
with the given type and init expression. - globals - Variable in class io.github.eutro.jwasm.tree.GlobalsNode
-
The vector of
GlobalNode
s. - globals - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
The globals of this module.
- GlobalsNode - Class in io.github.eutro.jwasm.tree
-
A node that represents the global section of a module.
- GlobalsNode() - Constructor for class io.github.eutro.jwasm.tree.GlobalsNode
-
Construct a visitor with no delegate.
- GlobalsNode(GlobalsVisitor) - Constructor for class io.github.eutro.jwasm.tree.GlobalsNode
-
Construct a visitor with a delegate.
- GlobalsVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits the global section of a module.
- GlobalsVisitor() - Constructor for class io.github.eutro.jwasm.GlobalsVisitor
-
Construct a visitor with no delegate.
- GlobalsVisitor(GlobalsVisitor) - Constructor for class io.github.eutro.jwasm.GlobalsVisitor
-
Construct a visitor with a delegate.
- GlobalsWriter - Class in io.github.eutro.jwasm
-
A
GlobalsVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - GlobalsWriter() - Constructor for class io.github.eutro.jwasm.GlobalsWriter
-
Constructs a writer with no
end callback
. - GlobalsWriter(Consumer<GlobalsWriter>) - Constructor for class io.github.eutro.jwasm.GlobalsWriter
-
Constructs a writer with an optional
end callback
. - GlobalTypeNode - Class in io.github.eutro.jwasm.tree
-
A node that represents the type of an imported, exported or a module's own, global.
- GlobalTypeNode(byte, byte) - Constructor for class io.github.eutro.jwasm.tree.GlobalTypeNode
-
Construct a
GlobalTypeNode
with the given mutability and type.
H
- hashCode() - Method in class io.github.eutro.jwasm.attrs.Opcode
- hashCode() - Method in class io.github.eutro.jwasm.attrs.StackType
- hashCode() - Method in class io.github.eutro.jwasm.sexp.internal.Token
- hashCode() - Method in class io.github.eutro.jwasm.sexp.wast.WastReader.ExternRef
- hashCode() - Method in class io.github.eutro.jwasm.tree.TypeNode
- hasSign - Variable in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- HEX - Enum constant in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.ExpType
I
- I16X8 - Enum constant in enum class io.github.eutro.jwasm.attrs.VectorShape
-
Eight 16-bit integers.
- I16X8_ABS - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_ADD - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_ADD_SAT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_ADD_SAT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_ALL_TRUE - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_AVGR_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_BITMASK - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_EQ - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_EXTADD_PAIRWISE_I8X16_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_EXTADD_PAIRWISE_I8X16_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_EXTEND_HIGH_I8X16_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_EXTEND_HIGH_I8X16_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_EXTEND_LOW_I8X16_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_EXTEND_LOW_I8X16_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_EXTMUL_HIGH_I8X16_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_EXTMUL_HIGH_I8X16_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_EXTMUL_LOW_I8X16_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_EXTMUL_LOW_I8X16_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_EXTRACT_LANE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_EXTRACT_LANE_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_GE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_GE_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_GT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_GT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_LE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_LE_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_LT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_LT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_MAX_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_MAX_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_MIN_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_MIN_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_MUL - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_NARROW_I32X4_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_NARROW_I32X4_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_NE - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_NEG - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_Q15MULR_SAT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_REPLACE_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_SHL - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_SHR_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_SHR_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_SPLAT - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_SUB - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_SUB_SAT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I16X8_SUB_SAT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32 - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_ADD - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_AND - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_CLZ - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_CONST - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_CTZ - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_DIV_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_DIV_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_EQ - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_EQZ - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_EXTEND16_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_EXTEND8_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_GE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_GE_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_GT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_GT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_LE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_LE_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_LOAD - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_LOAD16_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_LOAD16_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_LOAD8_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_LOAD8_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_LT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_LT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_MUL - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_NE - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_OR - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_POPCNT - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_REINTERPRET_F32 - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_REM_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_REM_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_ROTL - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_ROTR - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_SHL - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_SHR_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_SHR_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_STORE - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_STORE16 - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_STORE8 - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_SUB - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_TRUNC_F32_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_TRUNC_F32_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_TRUNC_F64_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_TRUNC_F64_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_TRUNC_SAT_F32_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_TRUNC_SAT_F32_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_TRUNC_SAT_F64_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_TRUNC_SAT_F64_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_WRAP_I64 - Static variable in class io.github.eutro.jwasm.Opcodes
- I32_XOR - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4 - Enum constant in enum class io.github.eutro.jwasm.attrs.VectorShape
-
Four 32-bit integers.
- I32X4_ABS - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_ADD - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_ALL_TRUE - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_BITMASK - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_DOT_I16X8_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_EQ - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_EXTADD_PAIRWISE_I16X8_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_EXTADD_PAIRWISE_I16X8_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_EXTEND_HIGH_I16X8_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_EXTEND_HIGH_I16X8_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_EXTEND_LOW_I16X8_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_EXTEND_LOW_I16X8_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_EXTMUL_HIGH_I16X8_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_EXTMUL_HIGH_I16X8_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_EXTMUL_LOW_I16X8_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_EXTMUL_LOW_I16X8_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_EXTRACT_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_GE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_GE_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_GT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_GT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_LE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_LE_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_LT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_LT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_MAX_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_MAX_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_MIN_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_MIN_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_MUL - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_NE - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_NEG - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_REPLACE_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_SHL - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_SHR_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_SHR_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_SPLAT - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_SUB - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_TRUNC_SAT_F32X4_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_TRUNC_SAT_F32X4_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_TRUNC_SAT_F64X2_S_ZERO - Static variable in class io.github.eutro.jwasm.Opcodes
- I32X4_TRUNC_SAT_F64X2_U_ZERO - Static variable in class io.github.eutro.jwasm.Opcodes
- I64 - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_ADD - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_AND - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_CLZ - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_CONST - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_CTZ - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_DIV_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_DIV_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_EQ - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_EQZ - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_EXTEND_I32_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_EXTEND_I32_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_EXTEND16_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_EXTEND32_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_EXTEND8_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_GE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_GE_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_GT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_GT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_LE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_LE_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_LOAD - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_LOAD16_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_LOAD16_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_LOAD32_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_LOAD32_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_LOAD8_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_LOAD8_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_LT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_LT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_MUL - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_NE - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_OR - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_POPCNT - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_REINTERPRET_F64 - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_REM_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_REM_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_ROTL - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_ROTR - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_SHL - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_SHR_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_SHR_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_STORE - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_STORE16 - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_STORE32 - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_STORE8 - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_SUB - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_TRUNC_F32_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_TRUNC_F32_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_TRUNC_F64_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_TRUNC_F64_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_TRUNC_SAT_F32_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_TRUNC_SAT_F32_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_TRUNC_SAT_F64_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_TRUNC_SAT_F64_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64_XOR - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2 - Enum constant in enum class io.github.eutro.jwasm.attrs.VectorShape
-
Two 64-bit integers.
- I64X2_ABS - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_ADD - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_ALL_TRUE - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_BITMASK - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_EQ - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_EXTEND_HIGH_I32X4_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_EXTEND_HIGH_I32X4_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_EXTEND_LOW_I32X4_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_EXTEND_LOW_I32X4_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_EXTMUL_HIGH_I32X4_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_EXTMUL_HIGH_I32X4_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_EXTMUL_LOW_I32X4_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_EXTMUL_LOW_I32X4_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_EXTRACT_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_GE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_GT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_LE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_LT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_MUL - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_NE - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_NEG - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_REPLACE_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_SHL - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_SHR_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_SHR_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_SPLAT - Static variable in class io.github.eutro.jwasm.Opcodes
- I64X2_SUB - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16 - Enum constant in enum class io.github.eutro.jwasm.attrs.VectorShape
-
Sixteen 8-bit integers.
- I8X16_ABS - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_ADD - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_ADD_SAT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_ADD_SAT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_ALL_TRUE - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_AVGR_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_BITMASK - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_EQ - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_EXTRACT_LANE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_EXTRACT_LANE_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_GE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_GE_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_GT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_GT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_LE_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_LE_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_LT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_LT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_MAX_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_MAX_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_MIN_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_MIN_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_NARROW_I16X8_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_NARROW_I16X8_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_NE - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_NEG - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_POPCNT - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_REPLACE_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_SHL - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_SHR_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_SHR_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_SHUFFLE - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_SPLAT - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_SUB - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_SUB_SAT_S - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_SUB_SAT_U - Static variable in class io.github.eutro.jwasm.Opcodes
- I8X16_SWIZZLE - Static variable in class io.github.eutro.jwasm.Opcodes
- IF - Static variable in class io.github.eutro.jwasm.Opcodes
- imports - Variable in class io.github.eutro.jwasm.tree.ImportsNode
-
The vector of
AbstractImportNode
s. - imports - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
The imports of this module.
- IMPORTS_FUNC - Static variable in class io.github.eutro.jwasm.Opcodes
- IMPORTS_GLOBAL - Static variable in class io.github.eutro.jwasm.Opcodes
- IMPORTS_MEM - Static variable in class io.github.eutro.jwasm.Opcodes
- IMPORTS_TABLE - Static variable in class io.github.eutro.jwasm.Opcodes
- ImportsNode - Class in io.github.eutro.jwasm.tree
-
A node that represents the import section of a module.
- ImportsNode() - Constructor for class io.github.eutro.jwasm.tree.ImportsNode
-
Construct a visitor with no delegate.
- ImportsNode(ImportsVisitor) - Constructor for class io.github.eutro.jwasm.tree.ImportsNode
-
Construct a visitor with a delegate.
- ImportsVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits the import section of a module.
- ImportsVisitor() - Constructor for class io.github.eutro.jwasm.ImportsVisitor
-
Construct a visitor with no delegate.
- ImportsVisitor(ImportsVisitor) - Constructor for class io.github.eutro.jwasm.ImportsVisitor
-
Construct a visitor with a delegate.
- ImportsWriter - Class in io.github.eutro.jwasm
-
A
ImportsVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - ImportsWriter() - Constructor for class io.github.eutro.jwasm.ImportsWriter
-
Constructs a writer with no
end callback
. - ImportsWriter(Consumer<ImportsWriter>) - Constructor for class io.github.eutro.jwasm.ImportsWriter
-
Constructs a writer with an optional
end callback
. - importType() - Method in class io.github.eutro.jwasm.tree.AbstractImportNode
-
Get the numerical value of the import type.
- importType() - Method in class io.github.eutro.jwasm.tree.FuncImportNode
- importType() - Method in class io.github.eutro.jwasm.tree.GlobalImportNode
- importType() - Method in class io.github.eutro.jwasm.tree.MemImportNode
- importType() - Method in class io.github.eutro.jwasm.tree.TableImportNode
- in - Variable in exception io.github.eutro.jwasm.sexp.WatParser.ParseException
-
The s-expr object being parsed when parsing failed.
- index - Variable in class io.github.eutro.jwasm.tree.ExportNode
-
The index of the exported value.
- index - Variable in class io.github.eutro.jwasm.tree.IndexedMemInsnNode
-
The index argument.
- IndexedMemInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- IndexedMemInsnNode - Class in io.github.eutro.jwasm.tree
- IndexedMemInsnNode(int, int) - Constructor for class io.github.eutro.jwasm.tree.IndexedMemInsnNode
-
Construct an
IndexedMemInsnNode
with the given integer opcode and index. - indices - Variable in class io.github.eutro.jwasm.tree.ElementNode
-
The vector of function indices to reference in the init exprs, or
null
if theinit expressions
are explicitly declared. - INF - Enum constant in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.ExpType
- init - Variable in class io.github.eutro.jwasm.tree.DataNode
-
The
init
bytes of the data segment. - init - Variable in class io.github.eutro.jwasm.tree.ElementNode
- init - Variable in class io.github.eutro.jwasm.tree.GlobalNode
-
The init expression of the global.
- InputStreamByteInputStream(InputStream) - Constructor for class io.github.eutro.jwasm.ByteInputStream.InputStreamByteInputStream
-
Construct a
ByteInputStream.InputStreamByteInputStream
from an input stream. - Insn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- INSN_PREFIX - Static variable in class io.github.eutro.jwasm.Opcodes
- InsnAttributes - Class in io.github.eutro.jwasm.attrs
-
A class for querying the attributes of WebAssembly instructions.
- InsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents an instruction with no immediate arguments.
- InsnNode(byte) - Constructor for class io.github.eutro.jwasm.tree.InsnNode
-
Construct an
InsnNode
with the given opcode. - instructions - Variable in class io.github.eutro.jwasm.tree.ExprNode
-
The list of
instructions
in this expression, ornull
if there aren't any. - interpret() - Method in class io.github.eutro.jwasm.sexp.internal.Token
- intOpcode - Variable in class io.github.eutro.jwasm.attrs.Opcode
-
If the instruction is longer than one byte, the LEB128 decoded suffix of the opcode.
- intOpcode - Variable in class io.github.eutro.jwasm.tree.PrefixInsnNode
-
The integer opcode of the instruction.
- intOpcode - Variable in class io.github.eutro.jwasm.tree.VectorInsnNode
-
The integer opcode of the instruction.
- intValue() - Method in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- io.github.eutro.jwasm - package io.github.eutro.jwasm
-
Visitors and types for reading and writing binary Wasm modules.
- io.github.eutro.jwasm.attrs - package io.github.eutro.jwasm.attrs
-
Classes for querying information about WebAssembly instructions.
- io.github.eutro.jwasm.sexp - package io.github.eutro.jwasm.sexp
-
Parsers for processing the Wasm text format and other s-expression-based formats.
- io.github.eutro.jwasm.sexp.internal - package io.github.eutro.jwasm.sexp.internal
-
io.github.eutro.jwasm.sexp
internals. - io.github.eutro.jwasm.sexp.wast - package io.github.eutro.jwasm.sexp.wast
-
Visitors for processing the WebAssembly spec interpreter script format.
- io.github.eutro.jwasm.tree - package io.github.eutro.jwasm.tree
-
In-memory tree representation of a binary WebAssembly module.
- io.github.eutro.jwasm.tree.analysis - package io.github.eutro.jwasm.tree.analysis
-
Visitors build on the tree API for performing verification.
- isFunctype() - Method in class io.github.eutro.jwasm.BlockType
-
Returns whether this block type is a functype.
- isId(Object) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- isInteger() - Method in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- isValtype() - Method in class io.github.eutro.jwasm.BlockType
-
Returns whether this block type is an inline valtype.
- iter - Variable in class io.github.eutro.jwasm.sexp.internal.ListParser
- iterator() - Method in class io.github.eutro.jwasm.tree.CodesNode
- iterator() - Method in class io.github.eutro.jwasm.tree.DataSegmentsNode
- iterator() - Method in class io.github.eutro.jwasm.tree.ElementNode
-
Returns an iterator over the init expressions in this element segment, whether they be
implicitly derived from function indices
orexplicitly declared
. - iterator() - Method in class io.github.eutro.jwasm.tree.ElementSegmentsNode
- iterator() - Method in class io.github.eutro.jwasm.tree.ExportsNode
- iterator() - Method in class io.github.eutro.jwasm.tree.ExprNode
- iterator() - Method in class io.github.eutro.jwasm.tree.FunctionsNode
- iterator() - Method in class io.github.eutro.jwasm.tree.GlobalsNode
- iterator() - Method in class io.github.eutro.jwasm.tree.ImportsNode
- iterator() - Method in class io.github.eutro.jwasm.tree.MemoriesNode
- iterator() - Method in class io.github.eutro.jwasm.tree.TablesNode
- iterator() - Method in class io.github.eutro.jwasm.tree.TypesNode
K
- kind - Variable in class io.github.eutro.jwasm.BlockType
-
The kind of block type, inline valtype or functype.
L
- label - Variable in class io.github.eutro.jwasm.tree.BreakInsnNode
-
The index of the label.
- labels - Variable in class io.github.eutro.jwasm.tree.TableBreakInsnNode
-
The table of label indices.
- lane - Variable in class io.github.eutro.jwasm.tree.VectorLaneInsnNode
- lane - Variable in class io.github.eutro.jwasm.tree.VectorMemLaneInsnNode
- LexerDFA - Class in io.github.eutro.jwasm.sexp.internal
- LexerDFA() - Constructor for class io.github.eutro.jwasm.sexp.internal.LexerDFA
- LIMIT_NOMAX - Static variable in class io.github.eutro.jwasm.Opcodes
- LIMIT_WMAX - Static variable in class io.github.eutro.jwasm.Opcodes
- limits - Variable in class io.github.eutro.jwasm.tree.MemImportNode
-
The limits of the imported memory.
- limits - Variable in class io.github.eutro.jwasm.tree.MemoryNode
-
The limits of the memory.
- limits - Variable in class io.github.eutro.jwasm.tree.TableImportNode
-
The limits of the imported table.
- limits - Variable in class io.github.eutro.jwasm.tree.TableNode
-
The limits of the table.
- Limits - Class in io.github.eutro.jwasm
-
A class that represents a WebAssembly limits value, with a minimum and an optional maximum.
- Limits(int, Integer) - Constructor for class io.github.eutro.jwasm.Limits
-
Construct a
Limits
value with the given minimum and maximum. - line - Variable in class io.github.eutro.jwasm.sexp.SrcLoc
-
The line number.
- LineCountingPushbackByteInputStream<E extends Exception> - Class in io.github.eutro.jwasm.sexp.internal
- LineCountingPushbackByteInputStream(ByteInputStream<E>) - Constructor for class io.github.eutro.jwasm.sexp.internal.LineCountingPushbackByteInputStream
- list - Variable in class io.github.eutro.jwasm.sexp.internal.ListParser
- ListParser - Class in io.github.eutro.jwasm.sexp.internal
- ListParser(List<?>) - Constructor for class io.github.eutro.jwasm.sexp.internal.ListParser
- ListParser(List<?>, int) - Constructor for class io.github.eutro.jwasm.sexp.internal.ListParser
- loc - Variable in class io.github.eutro.jwasm.sexp.internal.Token
- LOCAL_GET - Static variable in class io.github.eutro.jwasm.Opcodes
- LOCAL_SET - Static variable in class io.github.eutro.jwasm.Opcodes
- LOCAL_TEE - Static variable in class io.github.eutro.jwasm.Opcodes
- locals - Variable in class io.github.eutro.jwasm.tree.CodeNode
-
The valtypes of the local variables of the function.
- longValue() - Method in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- lookup(byte) - Static method in class io.github.eutro.jwasm.attrs.InsnAttributes
-
Look up the attributes of a single-byte-opcode instruction.
- lookup(Opcode) - Static method in class io.github.eutro.jwasm.attrs.InsnAttributes
-
Look up the attributes of an instruction.
- lookup(String) - Static method in class io.github.eutro.jwasm.attrs.InsnAttributes
-
Look up the attributes of an instruction by mnemonic.
- lookupPrefix(int) - Static method in class io.github.eutro.jwasm.attrs.InsnAttributes
-
Look up the attributes of a
Opcodes.INSN_PREFIX
-prefixed instruction. - lookupVector(int) - Static method in class io.github.eutro.jwasm.attrs.InsnAttributes
-
Look up the attributes of a
Opcodes.VECTOR_PREFIX
-prefixed instruction. - LOOP - Static variable in class io.github.eutro.jwasm.Opcodes
M
- MAGIC - Static variable in class io.github.eutro.jwasm.Opcodes
- main(String[]) - Static method in class io.github.eutro.jwasm.sexp.internal.LexerDFA
-
Print out the compiled DFA data as base 64 for inclusion in
LexerDFA.getData()
. - mantissa - Variable in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- mark(Object, Supplier<T>) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- max - Variable in class io.github.eutro.jwasm.Limits
-
The maximum of the limit, or
null
if there is none. - maybeParse(Predicate<Object>) - Method in class io.github.eutro.jwasm.sexp.internal.ListParser
- maybeParseId() - Method in class io.github.eutro.jwasm.sexp.internal.ListParser
- MemArgPart(WatReader.MemArgPart.Type, BigInteger) - Constructor for class io.github.eutro.jwasm.sexp.WatReader.MemArgPart
- MemImportNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a memory import.
- MemImportNode(String, String, Limits) - Constructor for class io.github.eutro.jwasm.tree.MemImportNode
-
Construct a
MemImportNode
with the given module, name and limits. - MemInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- MemInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a memory instruction with a single memory argument.
- MemInsnNode(byte, int, int) - Constructor for class io.github.eutro.jwasm.tree.MemInsnNode
-
Construct a
MemInsnNode
with the given opcode, align and offset. - memories - Variable in class io.github.eutro.jwasm.tree.MemoriesNode
-
The vector of
MemoryNode
s. - MemoriesNode - Class in io.github.eutro.jwasm.tree
-
A node that represents the memory section of a module.
- MemoriesNode() - Constructor for class io.github.eutro.jwasm.tree.MemoriesNode
-
Construct a visitor with no delegate.
- MemoriesNode(MemoriesVisitor) - Constructor for class io.github.eutro.jwasm.tree.MemoriesNode
-
Construct a visitor with a delegate.
- MemoriesVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits the memory section of a module.
- MemoriesVisitor() - Constructor for class io.github.eutro.jwasm.MemoriesVisitor
-
Construct a visitor with no delegate.
- MemoriesVisitor(MemoriesVisitor) - Constructor for class io.github.eutro.jwasm.MemoriesVisitor
-
Construct a visitor with a delegate.
- MemoriesWriter - Class in io.github.eutro.jwasm
-
A
MemoriesVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - MemoriesWriter() - Constructor for class io.github.eutro.jwasm.MemoriesWriter
-
Constructs a writer with no
end callback
. - MemoriesWriter(Consumer<MemoriesWriter>) - Constructor for class io.github.eutro.jwasm.MemoriesWriter
-
Constructs a writer with an optional
end callback
. - memory - Variable in class io.github.eutro.jwasm.tree.DataNode
-
The memory index of the data segment.
- MEMORY_COPY - Static variable in class io.github.eutro.jwasm.Opcodes
- MEMORY_FILL - Static variable in class io.github.eutro.jwasm.Opcodes
- MEMORY_GROW - Static variable in class io.github.eutro.jwasm.Opcodes
- MEMORY_INIT - Static variable in class io.github.eutro.jwasm.Opcodes
- MEMORY_SIZE - Static variable in class io.github.eutro.jwasm.Opcodes
- MemoryNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a linear memory of a module.
- MemoryNode(Limits) - Constructor for class io.github.eutro.jwasm.tree.MemoryNode
-
Construct a
MemoryNode
with the given limits. - mems - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
The memories of this module.
- merge(Token.Type, Token.Type) - Static method in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- min - Variable in class io.github.eutro.jwasm.Limits
-
The minimum of the limit.
- minimise() - Method in class io.github.eutro.jwasm.sexp.internal.DFA
- module - Variable in class io.github.eutro.jwasm.tree.AbstractImportNode
-
The module being imported from.
- ModuleNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a WebAssembly module.
- ModuleNode() - Constructor for class io.github.eutro.jwasm.tree.ModuleNode
-
Construct a visitor with no delegate.
- ModuleNode(ModuleVisitor) - Constructor for class io.github.eutro.jwasm.tree.ModuleNode
-
Construct a visitor with a delegate.
- ModuleReader<E extends Exception> - Class in io.github.eutro.jwasm
-
A parser that makes a
ModuleVisitor
visit a WebAssembly module structure. - ModuleReader(Supplier<ByteInputStream<E>>) - Constructor for class io.github.eutro.jwasm.ModuleReader
-
Construct a
ModuleReader
with the given source of bytes. - ModuleValidator - Class in io.github.eutro.jwasm.tree.analysis
-
An
ModuleVisitor
that verifies whether the module is well-formed. - ModuleValidator() - Constructor for class io.github.eutro.jwasm.tree.analysis.ModuleValidator
-
Construct a module validator with the no delegate.
- ModuleValidator(ModuleVisitor) - Constructor for class io.github.eutro.jwasm.tree.analysis.ModuleValidator
-
Construct a module validator with the given delegate.
- ModuleVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits a WebAssembly module.
- ModuleVisitor() - Constructor for class io.github.eutro.jwasm.ModuleVisitor
-
Construct a visitor with no delegate.
- ModuleVisitor(ModuleVisitor) - Constructor for class io.github.eutro.jwasm.ModuleVisitor
-
Construct a visitor with a delegate.
- ModuleWriter - Class in io.github.eutro.jwasm
-
A
ModuleVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - ModuleWriter() - Constructor for class io.github.eutro.jwasm.ModuleWriter
- mut - Variable in class io.github.eutro.jwasm.tree.GlobalTypeNode
-
The mutability of the globaltype of the global.
- MUT_CONST - Static variable in class io.github.eutro.jwasm.Opcodes
- MUT_VAR - Static variable in class io.github.eutro.jwasm.Opcodes
N
- name - Variable in class io.github.eutro.jwasm.tree.AbstractImportNode
-
The name of the imported value.
- name - Variable in class io.github.eutro.jwasm.tree.CustomNode
-
The name of the custom section, for further identification.
- name - Variable in class io.github.eutro.jwasm.tree.ExportNode
-
The name of the export.
- NAN - Enum constant in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.ExpType
- nanType - Variable in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- NOP - Static variable in class io.github.eutro.jwasm.Opcodes
- NullInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- NullInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a
ref.null
instruction. - NullInsnNode(byte) - Constructor for class io.github.eutro.jwasm.tree.NullInsnNode
-
Construct a
NullInsnNode
with the given type.
O
- of(Object) - Static method in interface io.github.eutro.jwasm.sexp.wast.WastReader.Checkable
- of(Object) - Static method in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- offset - Variable in class io.github.eutro.jwasm.tree.DataNode
-
The
offset
expr. - offset - Variable in class io.github.eutro.jwasm.tree.ElementNode
-
The offset expression of an active element segment, or
null
if it is not active. - offset - Variable in class io.github.eutro.jwasm.tree.MemInsnNode
-
The
offset
of the argument. - offset - Variable in class io.github.eutro.jwasm.tree.VectorMemInsnNode
- offset - Variable in class io.github.eutro.jwasm.tree.VectorMemLaneInsnNode
- OFFSET - Enum constant in enum class io.github.eutro.jwasm.sexp.WatReader.MemArgPart.Type
- onEnd - Variable in class io.github.eutro.jwasm.CodesWriter
-
A callback that is called from
CodesWriter.visitEnd()
, ornull
. - onEnd - Variable in class io.github.eutro.jwasm.DataSegmentsWriter
-
A callback that is called from
DataSegmentsWriter.visitEnd()
, ornull
. - onEnd - Variable in class io.github.eutro.jwasm.DataWriter
-
A callback that is called from
DataWriter.visitEnd()
, ornull
. - onEnd - Variable in class io.github.eutro.jwasm.ElementSegmentsWriter
-
A callback that is called from
ElementSegmentsWriter.visitEnd()
, ornull
. - onEnd - Variable in class io.github.eutro.jwasm.ElementWriter
-
A callback that is called from
ElementWriter.visitEnd()
, ornull
. - onEnd - Variable in class io.github.eutro.jwasm.ExportsWriter
-
A callback that is called from
ExportsWriter.visitEnd()
, ornull
. - onEnd - Variable in class io.github.eutro.jwasm.ExprWriter
-
A callback that is called from
ExprWriter.visitEnd()
, ornull
. - onEnd - Variable in class io.github.eutro.jwasm.FunctionsWriter
-
A callback that is called from
FunctionsWriter.visitEnd()
, ornull
. - onEnd - Variable in class io.github.eutro.jwasm.GlobalsWriter
-
A callback that is called from
GlobalsWriter.visitEnd()
, ornull
. - onEnd - Variable in class io.github.eutro.jwasm.ImportsWriter
-
A callback that is called from
ImportsWriter.visitEnd()
, ornull
. - onEnd - Variable in class io.github.eutro.jwasm.MemoriesWriter
-
A callback that is called from
MemoriesWriter.visitEnd()
, ornull
. - onEnd - Variable in class io.github.eutro.jwasm.TablesWriter
-
A callback that is called from
TablesWriter.visitEnd()
, ornull
. - onEnd - Variable in class io.github.eutro.jwasm.TypesWriter
-
A callback that is called from
TypesWriter.visitEnd()
, ornull
. - opcode - Variable in class io.github.eutro.jwasm.attrs.Opcode
-
The first byte of the opcode.
- opcode - Variable in class io.github.eutro.jwasm.tree.AbstractInsnNode
-
The opcode of this instruction.
- Opcode - Class in io.github.eutro.jwasm.attrs
-
Represents the opcode of a single WebAssembly instruction.
- Opcode(byte, int) - Constructor for class io.github.eutro.jwasm.attrs.Opcode
-
Construct an
Opcode
with the given prefix and suffix. - Opcodes - Class in io.github.eutro.jwasm
-
A list of WebAssembly constants and opcodes.
- Opcodes() - Constructor for class io.github.eutro.jwasm.Opcodes
P
- PAGE_SIZE - Static variable in class io.github.eutro.jwasm.Opcodes
- params - Variable in class io.github.eutro.jwasm.tree.TypeNode
- parseBinaryModule(Object) - Method in class io.github.eutro.jwasm.sexp.WatParser
-
Parse a
ModuleNode
from a module written as (module id? binary ...), which may appear in WAST scripts. - ParsedNumber(String, boolean, int, BigInteger, BigInteger, WatReader.ParsedNumber.ExpType, WatReader.ParsedNumber.NanType) - Constructor for class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- ParsedNumber(String, int, BigInteger, BigInteger, WatReader.ParsedNumber.ExpType, boolean) - Constructor for class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- ParseException(WatParser.ParseException, Object) - Constructor for exception io.github.eutro.jwasm.sexp.WatParser.ParseException
- ParseException(String, Object) - Constructor for exception io.github.eutro.jwasm.sexp.WatParser.ParseException
- ParseException(String, Object, Throwable) - Constructor for exception io.github.eutro.jwasm.sexp.WatParser.ParseException
- parseF32(Object) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- parseF32(Object, boolean) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- parseF64(Object) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- parseF64(Object, boolean) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- parseI32(Object) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- parseI64(Object) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- parseModule(Object) - Method in class io.github.eutro.jwasm.sexp.WatParser
-
Parse a
ModuleNode
from a parsed s-expression as obtained fromWatReader.readAll(CharSequence)
. - parseNumber(String) - Static method in class io.github.eutro.jwasm.sexp.internal.Token
- parseQuoteModule(Object) - Method in class io.github.eutro.jwasm.sexp.WatParser
-
Parse a
ModuleNode
from a module written as (module id? quote ...), which may appear in WAST scripts. - parseString(String) - Static method in class io.github.eutro.jwasm.sexp.internal.Token
- parseUtf8(Object) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- parseV128Const(ListParser, boolean) - Static method in class io.github.eutro.jwasm.sexp.internal.ListParser
- parseWith(WatReader.MemArgPart.Type) - Static method in class io.github.eutro.jwasm.sexp.WatReader.MemArgPart
- passive - Variable in class io.github.eutro.jwasm.tree.ElementNode
-
Whether the element segment is passive, if it is not active.
- pc - Variable in class io.github.eutro.jwasm.tree.AbstractInsnNode
-
The offset in the module binary of the first byte of the instruction, or -1 if unknown.
- peek() - Method in class io.github.eutro.jwasm.sexp.internal.ListParser
- pop(byte...) - Static method in class io.github.eutro.jwasm.attrs.StackType
-
A stack type which pops the given types, and pushes nothing.
- pops - Variable in class io.github.eutro.jwasm.attrs.StackType
-
The types removed from the stack.
- position - Variable in class io.github.eutro.jwasm.sexp.SrcLoc
-
The offset in the file.
- position() - Method in class io.github.eutro.jwasm.ByteInputStream.ByteBufferByteInputStream
-
Get the position in bytes of the underlying stream.
- position() - Method in class io.github.eutro.jwasm.ByteInputStream.InputStreamByteInputStream
- position() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Get the position in bytes of the underlying stream.
- position() - Method in class io.github.eutro.jwasm.ByteInputStream.SectionInputStream
-
Get the position in bytes of the underlying stream.
- position() - Method in class io.github.eutro.jwasm.sexp.internal.LineCountingPushbackByteInputStream
- PrefixBinaryTableInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- PrefixBinaryTableInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a table instruction with two immediate index arguments.
- PrefixBinaryTableInsnNode(int, int, int) - Constructor for class io.github.eutro.jwasm.tree.PrefixBinaryTableInsnNode
-
Construct a
PrefixBinaryTableInsnNode
with the given opcode and immediate arguments. - PrefixInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- PrefixInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a prefix instruction.
- PrefixInsnNode(int) - Constructor for class io.github.eutro.jwasm.tree.PrefixInsnNode
-
Construct an
PrefixInsnNode
with the given integer opcode. - prefixOpcode(int) - Static method in class io.github.eutro.jwasm.attrs.Opcode
-
Construct a
Opcodes.INSN_PREFIX
-prefixed opcode. - PrefixTableInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- PrefixTableInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a prefixed table instruction.
- PrefixTableInsnNode(int, int) - Constructor for class io.github.eutro.jwasm.tree.PrefixTableInsnNode
-
Construct a
PrefixTableInsnNode
with the given opcode and table. - push(byte...) - Static method in class io.github.eutro.jwasm.attrs.StackType
-
A stack type which pops nothing, and pushes the given types.
- pushes - Variable in class io.github.eutro.jwasm.attrs.StackType
-
The types pushed onto the stack.
- put(byte) - Method in class io.github.eutro.jwasm.ByteOutputStream.BaosByteOutputStream
-
Write a byte to the stream.
- put(byte) - Method in class io.github.eutro.jwasm.ByteOutputStream.Dummy
-
Write a byte to the stream.
- put(byte) - Method in interface io.github.eutro.jwasm.ByteOutputStream
-
Write a byte to the stream.
- put(byte[]) - Method in class io.github.eutro.jwasm.ByteOutputStream.BaosByteOutputStream
-
Write all the bytes from an array to the stream.
- put(byte[]) - Method in class io.github.eutro.jwasm.ByteOutputStream.Dummy
-
Write all the bytes from an array to the stream.
- put(byte[]) - Method in interface io.github.eutro.jwasm.ByteOutputStream
-
Write all the bytes from an array to the stream.
- putByteArray(byte[]) - Method in interface io.github.eutro.jwasm.ByteOutputStream
-
Write an array of bytes to the stream, writing its length first as an
unsigned integer
, followed by the raw bytes. - putFloat32(float) - Method in interface io.github.eutro.jwasm.ByteOutputStream
-
Write a 32 bit floating point value to the stream, in little endian byte order.
- putFloat64(double) - Method in interface io.github.eutro.jwasm.ByteOutputStream
-
Write a 64 bit floating point value to the stream, in little endian byte order.
- putLimit(int, Integer) - Method in interface io.github.eutro.jwasm.ByteOutputStream
-
Write a WebAssembly
limit
to the stream, consisting of a minimum and an optional maximum. - putName(String) - Method in interface io.github.eutro.jwasm.ByteOutputStream
-
Write a string as a WebAssembly
name
: a vector of UTF-8 bytes. - putUInt32(int) - Method in interface io.github.eutro.jwasm.ByteOutputStream
-
Write an unsigned 32-bit integer to the stream, in little endian byte order.
- putVarSInt(long) - Method in interface io.github.eutro.jwasm.ByteOutputStream
-
Write a signed LEB128 encoded integer to the stream.
- putVarUInt(long) - Method in interface io.github.eutro.jwasm.ByteOutputStream
-
Write an unsigned LEB128 encoded integer to the stream.
R
- radix - Variable in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.ExpType
- raw() - Method in class io.github.eutro.jwasm.CodesWriter
- raw() - Method in class io.github.eutro.jwasm.DataSegmentsWriter
- raw() - Method in class io.github.eutro.jwasm.ElementSegmentsWriter
- raw() - Method in class io.github.eutro.jwasm.ExportsWriter
- raw() - Method in class io.github.eutro.jwasm.FunctionsWriter
- raw() - Method in class io.github.eutro.jwasm.GlobalsWriter
- raw() - Method in class io.github.eutro.jwasm.ImportsWriter
- raw() - Method in class io.github.eutro.jwasm.MemoriesWriter
- raw() - Method in class io.github.eutro.jwasm.TablesWriter
- raw() - Method in class io.github.eutro.jwasm.TypesWriter
- raw() - Method in interface io.github.eutro.jwasm.VectorWriter
- readAll() - Method in class io.github.eutro.jwasm.sexp.WatReader
-
Read all s-expressions from the stream.
- readAll(ByteInputStream<E>) - Static method in class io.github.eutro.jwasm.sexp.WatReader
-
Read all s-expressions from an input stream.
- readAll(InputStream) - Static method in class io.github.eutro.jwasm.sexp.WatReader
-
Read all s-expressions from an input stream.
- readAll(CharSequence) - Static method in class io.github.eutro.jwasm.sexp.WatReader
-
Read all s-expressions from a source character sequence.
- readFrom(ByteInputStream<E>) - Static method in class io.github.eutro.jwasm.sexp.internal.DFA
- readNext() - Method in class io.github.eutro.jwasm.sexp.WatReader
-
Read a single s-expression from the stream, if there is one.
- readNext(LineCountingPushbackByteInputStream<E>) - Method in class io.github.eutro.jwasm.sexp.internal.DFA
- REF_FUNC - Static variable in class io.github.eutro.jwasm.Opcodes
- REF_IS_NULL - Static variable in class io.github.eutro.jwasm.Opcodes
- REF_NULL - Static variable in class io.github.eutro.jwasm.Opcodes
- relOp(byte) - Static method in class io.github.eutro.jwasm.attrs.StackType
-
An operator that pops two values of a given type and pushes one
i32
. - RETURN - Static variable in class io.github.eutro.jwasm.Opcodes
- returns - Variable in class io.github.eutro.jwasm.tree.TypeNode
S
- secondIndex - Variable in class io.github.eutro.jwasm.tree.PrefixBinaryTableInsnNode
-
The second index argument.
- SECTION_CODE - Static variable in class io.github.eutro.jwasm.Opcodes
- SECTION_CUSTOM - Static variable in class io.github.eutro.jwasm.Opcodes
- SECTION_DATA - Static variable in class io.github.eutro.jwasm.Opcodes
- SECTION_DATA_COUNT - Static variable in class io.github.eutro.jwasm.Opcodes
- SECTION_ELEMENT - Static variable in class io.github.eutro.jwasm.Opcodes
- SECTION_EXPORT - Static variable in class io.github.eutro.jwasm.Opcodes
- SECTION_FUNCTION - Static variable in class io.github.eutro.jwasm.Opcodes
- SECTION_GLOBAL - Static variable in class io.github.eutro.jwasm.Opcodes
- SECTION_IMPORT - Static variable in class io.github.eutro.jwasm.Opcodes
- SECTION_MEMORY - Static variable in class io.github.eutro.jwasm.Opcodes
- SECTION_START - Static variable in class io.github.eutro.jwasm.Opcodes
- SECTION_TABLE - Static variable in class io.github.eutro.jwasm.Opcodes
- SECTION_TYPE - Static variable in class io.github.eutro.jwasm.Opcodes
- SectionInputStream(ByteInputStream<E>, int) - Constructor for class io.github.eutro.jwasm.ByteInputStream.SectionInputStream
-
Construct a sectioned view of a stream.
- sectionStream() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Get a view of this stream from which
ByteInputStream.getVarUInt32()
bytes of this stream can be read. - sectionStream(int) - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Get a view of this stream from which
length
bytes of this stream can be read. - SELECT - Static variable in class io.github.eutro.jwasm.Opcodes
- SelectInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- SelectInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a select instruction with explicit type arguments.
- SelectInsnNode(byte[]) - Constructor for class io.github.eutro.jwasm.tree.SelectInsnNode
-
Construct a
SelectInsnNode
with the given types. - SELECTT - Static variable in class io.github.eutro.jwasm.Opcodes
- set(int, Byte) - Method in class io.github.eutro.jwasm.ByteList
- setSources(Map<Object, SrcLoc>) - Method in class io.github.eutro.jwasm.sexp.WatReader
-
Set the sources map, further
reads
will associate new lists, strings and numbers with their source. - sign - Variable in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- size() - Method in class io.github.eutro.jwasm.ByteList
- size() - Method in class io.github.eutro.jwasm.tree.ElementNode
-
The number of init expressions in this element segment, the size of
ElementNode.iterator()
. - skip(int) - Method in class io.github.eutro.jwasm.ByteInputStream.ByteBufferByteInputStream
-
Skip a number of bytes from the stream, terminating early if the end of the stream is reached.
- skip(int) - Method in class io.github.eutro.jwasm.ByteInputStream.InputStreamByteInputStream
-
Skip a number of bytes from the stream, terminating early if the end of the stream is reached.
- skip(int) - Method in class io.github.eutro.jwasm.ByteInputStream.SectionInputStream
-
Skip a number of bytes from the stream, terminating early if the end of the stream is reached.
- skip(int) - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Skip a number of bytes from the stream, terminating early if the end of the stream is reached.
- skipAll() - Method in class io.github.eutro.jwasm.ByteInputStream.SectionInputStream
-
Skip all the remaining bytes in the stream.
- skipAll() - Method in interface io.github.eutro.jwasm.ByteInputStream
-
Skip all the remaining bytes in the stream.
- srcLoc() - Method in class io.github.eutro.jwasm.sexp.internal.LineCountingPushbackByteInputStream
- SrcLoc - Class in io.github.eutro.jwasm.sexp
-
An offset in a file, as well as a line and column.
- SrcLoc(long, int, int) - Constructor for class io.github.eutro.jwasm.sexp.SrcLoc
-
Construct a source location.
- StackType - Class in io.github.eutro.jwasm.attrs
-
The type of an instruction: what types it removes from the stack, and what types it pushes.
- StackType(byte[], byte[]) - Constructor for class io.github.eutro.jwasm.attrs.StackType
-
Construct a stack type with the given pops and pushes.
- start - Variable in class io.github.eutro.jwasm.sexp.internal.DFA
- start - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
The start of this module.
- states - Variable in class io.github.eutro.jwasm.sexp.internal.DFA
- step(int, int) - Method in class io.github.eutro.jwasm.sexp.internal.DFA
T
- T_ALIGN_EQ - Enum constant in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- T_BR_CLOSE - Enum constant in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- T_BR_OPEN - Enum constant in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- T_COMMENT_START - Enum constant in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- T_ID - Enum constant in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- T_INVALID - Enum constant in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- T_KEYWORD - Enum constant in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- T_LINE_COMMENT - Enum constant in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- T_NUMBER - Enum constant in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- T_OFFSET_EQ - Enum constant in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- T_RESERVED - Enum constant in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- T_SPACE - Enum constant in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- T_STRING - Enum constant in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
- table - Variable in class io.github.eutro.jwasm.tree.CallIndirectInsnNode
-
The table index to look up the reference in.
- table - Variable in class io.github.eutro.jwasm.tree.ElementNode
-
The table index of the element segment, if it is active.
- table - Variable in class io.github.eutro.jwasm.tree.PrefixTableInsnNode
-
The index of the table.
- table - Variable in class io.github.eutro.jwasm.tree.TableInsnNode
-
The index of the table.
- TABLE_COPY - Static variable in class io.github.eutro.jwasm.Opcodes
- TABLE_FILL - Static variable in class io.github.eutro.jwasm.Opcodes
- TABLE_GET - Static variable in class io.github.eutro.jwasm.Opcodes
- TABLE_GROW - Static variable in class io.github.eutro.jwasm.Opcodes
- TABLE_INIT - Static variable in class io.github.eutro.jwasm.Opcodes
- TABLE_SET - Static variable in class io.github.eutro.jwasm.Opcodes
- TABLE_SIZE - Static variable in class io.github.eutro.jwasm.Opcodes
- TableBreakInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- TableBreakInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a br_table instruction.
- TableBreakInsnNode(int[], int) - Constructor for class io.github.eutro.jwasm.tree.TableBreakInsnNode
-
Construct a
TableBreakInsnNode
with the given labels and default label. - TableImportNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a function import.
- TableImportNode(String, String, Limits, byte) - Constructor for class io.github.eutro.jwasm.tree.TableImportNode
-
Construct a
TableImportNode
with the given module, name, limits and type. - TableInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- TableInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a table instruction.
- TableInsnNode(byte, int) - Constructor for class io.github.eutro.jwasm.tree.TableInsnNode
-
Construct a
TableInsnNode
with the given opcode and table. - TableNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a table of a module.
- TableNode(Limits, byte) - Constructor for class io.github.eutro.jwasm.tree.TableNode
-
Construct a
TableNode
with the given limits and type. - tables - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
The tables of this module.
- tables - Variable in class io.github.eutro.jwasm.tree.TablesNode
-
The vector of
TableNode
s. - TablesNode - Class in io.github.eutro.jwasm.tree
-
A node that represents the table section of a module.
- TablesNode() - Constructor for class io.github.eutro.jwasm.tree.TablesNode
-
Construct a visitor with no delegate.
- TablesNode(TablesVisitor) - Constructor for class io.github.eutro.jwasm.tree.TablesNode
-
Construct a visitor with a delegate.
- TablesVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits the table section of a module.
- TablesVisitor() - Constructor for class io.github.eutro.jwasm.TablesVisitor
-
Construct a visitor with no delegate.
- TablesVisitor(TablesVisitor) - Constructor for class io.github.eutro.jwasm.TablesVisitor
-
Construct a visitor with a delegate.
- TablesWriter - Class in io.github.eutro.jwasm
-
A
TablesVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - TablesWriter() - Constructor for class io.github.eutro.jwasm.TablesWriter
-
Constructs a writer with no
end callback
. - TablesWriter(Consumer<TablesWriter>) - Constructor for class io.github.eutro.jwasm.TablesWriter
-
Constructs a writer with an optional
end callback
. - testOp(byte) - Static method in class io.github.eutro.jwasm.attrs.StackType
-
An operator that pops one value of a given type and pushes one
i32
. - toBigInt() - Method in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- toByteArray() - Method in interface io.github.eutro.jwasm.ByteArrayConvertible
-
Convert this to a byte array.
- toByteArray() - Method in class io.github.eutro.jwasm.ByteOutputStream.BaosByteOutputStream
-
Convert this to a byte array.
- toByteArray() - Method in class io.github.eutro.jwasm.DataWriter
- toByteArray() - Method in class io.github.eutro.jwasm.ElementWriter
- toByteArray() - Method in class io.github.eutro.jwasm.ExprWriter
- toByteArray() - Method in class io.github.eutro.jwasm.ModuleWriter
- toByteArray() - Method in interface io.github.eutro.jwasm.VectorWriter
- toDouble(boolean) - Method in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- toFloat(boolean) - Method in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- token - Variable in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- Token - Class in io.github.eutro.jwasm.sexp.internal
- Token(Token.Type, String, SrcLoc) - Constructor for class io.github.eutro.jwasm.sexp.internal.Token
- Token.Type - Enum Class in io.github.eutro.jwasm.sexp.internal
- toString() - Method in class io.github.eutro.jwasm.attrs.Opcode
- toString() - Method in class io.github.eutro.jwasm.sexp.internal.Token
- toString() - Method in class io.github.eutro.jwasm.sexp.SrcLoc
- toString() - Method in class io.github.eutro.jwasm.sexp.wast.WastReader.ExternRef
- toString() - Method in class io.github.eutro.jwasm.sexp.WatReader.MemArgPart
- toString() - Method in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.NanType
- toString() - Method in class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber
- transitions - Variable in class io.github.eutro.jwasm.sexp.internal.DFA.State
- ty - Variable in class io.github.eutro.jwasm.sexp.internal.Token
- type - Variable in class io.github.eutro.jwasm.BlockType
-
The integer value, either a valtype or a function index.
- type - Variable in class io.github.eutro.jwasm.sexp.internal.DFA.State
- type - Variable in class io.github.eutro.jwasm.sexp.WatReader.MemArgPart
- type - Variable in class io.github.eutro.jwasm.tree.CallIndirectInsnNode
-
The index of the function's type.
- type - Variable in class io.github.eutro.jwasm.tree.ElementNode
-
The reftype of the element segment.
- type - Variable in class io.github.eutro.jwasm.tree.ExportNode
-
The type of the export, one of
Opcodes.EXPORTS_FUNC
,Opcodes.EXPORTS_TABLE
,Opcodes.EXPORTS_MEM
orOpcodes.EXPORTS_GLOBAL
. - type - Variable in class io.github.eutro.jwasm.tree.FuncImportNode
-
The index of the type of the imported function.
- type - Variable in class io.github.eutro.jwasm.tree.FuncNode
-
The index of the function's type.
- type - Variable in class io.github.eutro.jwasm.tree.GlobalImportNode
-
The type of the imported global.
- type - Variable in class io.github.eutro.jwasm.tree.GlobalNode
-
The type of the global.
- type - Variable in class io.github.eutro.jwasm.tree.GlobalTypeNode
-
The valtype of the globaltype of the global.
- type - Variable in class io.github.eutro.jwasm.tree.NullInsnNode
-
The reftype of the null value.
- type - Variable in class io.github.eutro.jwasm.tree.SelectInsnNode
-
The valtypes of the instruction.
- type - Variable in class io.github.eutro.jwasm.tree.TableImportNode
-
The reftype of values in the imported table.
- type - Variable in class io.github.eutro.jwasm.tree.TableNode
-
The reftype of values in the table.
- TypeNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a
functype
. - TypeNode(byte[], byte[]) - Constructor for class io.github.eutro.jwasm.tree.TypeNode
-
Construct a
TypeNode
with the given params and returns. - TypeNode(List<Byte>, List<Byte>) - Constructor for class io.github.eutro.jwasm.tree.TypeNode
-
Like
TypeNode(byte[], byte[])
but withList
inputs. - types - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
The types of this module.
- types - Variable in class io.github.eutro.jwasm.tree.TypesNode
-
The vector of
TypeNode
s. - TYPES_FUNCTION - Static variable in class io.github.eutro.jwasm.Opcodes
- TypesNode - Class in io.github.eutro.jwasm.tree
-
A node that represents the type section of a module.
- TypesNode() - Constructor for class io.github.eutro.jwasm.tree.TypesNode
-
Construct a visitor with no delegate.
- TypesNode(TypesVisitor) - Constructor for class io.github.eutro.jwasm.tree.TypesNode
-
Construct a visitor with a delegate.
- TypesVisitor - Class in io.github.eutro.jwasm
-
A visitor that visits the type section of a module.
- TypesVisitor() - Constructor for class io.github.eutro.jwasm.TypesVisitor
-
Construct a visitor with no delegate.
- TypesVisitor(TypesVisitor) - Constructor for class io.github.eutro.jwasm.TypesVisitor
-
Construct a visitor with a delegate.
- TypesWriter - Class in io.github.eutro.jwasm
-
A
TypesVisitor
that generates the corresponding WebAssembly bytecode as it is visited. - TypesWriter() - Constructor for class io.github.eutro.jwasm.TypesWriter
-
Constructs a writer with no
end callback
. - TypesWriter(Consumer<TypesWriter>) - Constructor for class io.github.eutro.jwasm.TypesWriter
-
Constructs a writer with an optional
end callback
.
U
- unOp(byte) - Static method in class io.github.eutro.jwasm.attrs.StackType
-
A unary operator that pops and pushes the same type.
- unpacked - Variable in enum class io.github.eutro.jwasm.attrs.VectorShape
-
The WebAssembly obtained when unpacking a vector of this shape.
- unparse(ModuleNode) - Static method in class io.github.eutro.jwasm.sexp.Unparser
-
Convert a module node into an unparsed representation of it.
- Unparser - Class in io.github.eutro.jwasm.sexp
-
A class for converting a parsed
ModuleNode
into a Wat parsed s-expression. - Unparser() - Constructor for class io.github.eutro.jwasm.sexp.Unparser
- unparseType(byte) - Static method in class io.github.eutro.jwasm.sexp.Unparser
-
Get a string name for a type, throwing an exception if it is invalid.
- UNREACHABLE - Static variable in class io.github.eutro.jwasm.Opcodes
- unread(int) - Method in class io.github.eutro.jwasm.sexp.internal.LineCountingPushbackByteInputStream
V
- V128 - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_AND - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_ANDNOT - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_ANY_TRUE - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_BITSELECT - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_CONST - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD16_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD16_SPLAT - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD16X4_S - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD16X4_U - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD32_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD32_SPLAT - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD32_ZERO - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD32X2_S - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD32X2_U - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD64_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD64_SPLAT - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD64_ZERO - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD8_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD8_SPLAT - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD8X8_S - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_LOAD8X8_U - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_NOT - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_OR - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_STORE - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_STORE16_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_STORE32_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_STORE64_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_STORE8_LANE - Static variable in class io.github.eutro.jwasm.Opcodes
- V128_XOR - Static variable in class io.github.eutro.jwasm.Opcodes
- ValidationException - Exception in io.github.eutro.jwasm
-
An exception that may be thrown when reading an invalid module file.
- ValidationException() - Constructor for exception io.github.eutro.jwasm.ValidationException
- ValidationException(String) - Constructor for exception io.github.eutro.jwasm.ValidationException
- ValidationException(String, Throwable) - Constructor for exception io.github.eutro.jwasm.ValidationException
- ValidationException(Throwable) - Constructor for exception io.github.eutro.jwasm.ValidationException
- valtype(byte) - Static method in class io.github.eutro.jwasm.BlockType
-
Create a block type from an inline valtype.
- VALTYPE - Enum constant in enum class io.github.eutro.jwasm.BlockType.Kind
-
An inline valtype.
- value - Variable in class io.github.eutro.jwasm.sexp.internal.Token
- value - Variable in class io.github.eutro.jwasm.sexp.wast.WastReader.ExternRef
- value - Variable in class io.github.eutro.jwasm.sexp.WatReader.MemArgPart
- value - Variable in class io.github.eutro.jwasm.tree.ConstInsnNode
- valueOf(String) - Static method in enum class io.github.eutro.jwasm.attrs.VectorShape
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.eutro.jwasm.attrs.VisitTarget
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.eutro.jwasm.BlockType.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.eutro.jwasm.sexp.WatReader.MemArgPart.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.ExpType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.NanType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.eutro.jwasm.attrs.VectorShape
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.eutro.jwasm.attrs.VisitTarget
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.eutro.jwasm.BlockType.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.eutro.jwasm.sexp.internal.Token.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.eutro.jwasm.sexp.WatReader.MemArgPart.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.ExpType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.eutro.jwasm.sexp.WatReader.ParsedNumber.NanType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variable - Variable in class io.github.eutro.jwasm.tree.VariableInsnNode
-
The index of the variable.
- VariableInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- VariableInsnNode - Class in io.github.eutro.jwasm.tree
-
A node that represents a variable instruction.
- VariableInsnNode(byte, int) - Constructor for class io.github.eutro.jwasm.tree.VariableInsnNode
-
Construct a
VariableInsnNode
with the given opcode and index. - VECTOR_PREFIX - Static variable in class io.github.eutro.jwasm.Opcodes
- VectorConstOrShuffleInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- VectorConstOrShuffleInsnNode - Class in io.github.eutro.jwasm.tree
- VectorConstOrShuffleInsnNode(int, byte[]) - Constructor for class io.github.eutro.jwasm.tree.VectorConstOrShuffleInsnNode
- VectorInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- VectorInsnNode - Class in io.github.eutro.jwasm.tree
- VectorInsnNode(int) - Constructor for class io.github.eutro.jwasm.tree.VectorInsnNode
- VectorLaneInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- VectorLaneInsnNode - Class in io.github.eutro.jwasm.tree
- VectorLaneInsnNode(int, byte) - Constructor for class io.github.eutro.jwasm.tree.VectorLaneInsnNode
- VectorMemInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- VectorMemInsnNode - Class in io.github.eutro.jwasm.tree
- VectorMemInsnNode(int, int, int) - Constructor for class io.github.eutro.jwasm.tree.VectorMemInsnNode
- VectorMemLaneInsn - Enum constant in enum class io.github.eutro.jwasm.attrs.VisitTarget
- VectorMemLaneInsnNode - Class in io.github.eutro.jwasm.tree
- VectorMemLaneInsnNode(int, int, int, byte) - Constructor for class io.github.eutro.jwasm.tree.VectorMemLaneInsnNode
- vectorOpcode(int) - Static method in class io.github.eutro.jwasm.attrs.Opcode
-
Construct a
Opcodes.VECTOR_PREFIX
-prefixed opcode. - VectorShape - Enum Class in io.github.eutro.jwasm.attrs
-
The shape of a
v128
vector. - VectorWriter - Interface in io.github.eutro.jwasm
-
An interface for
*Writer
s that write a vector of values. - version - Variable in class io.github.eutro.jwasm.tree.ModuleNode
-
The version field of the module.
- VERSION - Static variable in class io.github.eutro.jwasm.Opcodes
- visitActive(int) - Method in class io.github.eutro.jwasm.DataVisitor
-
Visit the
memory
index andoffset
expr of the data segment, if it is active. - visitActive(int) - Method in class io.github.eutro.jwasm.DataWriter
- visitActive(int) - Method in class io.github.eutro.jwasm.tree.DataNode
- visitActiveMode(int) - Method in class io.github.eutro.jwasm.ElementVisitor
-
Visit the
table
index andoffset
expr of an active element segment. - visitActiveMode(int) - Method in class io.github.eutro.jwasm.ElementWriter
- visitActiveMode(int) - Method in class io.github.eutro.jwasm.tree.ElementNode
- visitAssertExhaustion(String) - Method in class io.github.eutro.jwasm.sexp.wast.WastVisitor
-
Visit an
assert_exhaustion
command. - visitAssertInvalid(String) - Method in class io.github.eutro.jwasm.sexp.wast.WastVisitor
-
Visit an
assert_invalid
command. - visitAssertMalformed(String) - Method in class io.github.eutro.jwasm.sexp.wast.WastVisitor
-
Visit an
assert_malformed
command. - visitAssertModuleTrap(String) - Method in class io.github.eutro.jwasm.sexp.wast.WastVisitor
-
Visit an
assert_trap
command. - visitAssertReturn(Object...) - Method in class io.github.eutro.jwasm.sexp.wast.WastVisitor
-
Visit an
assert_return
command. - visitAssertTrap(String) - Method in class io.github.eutro.jwasm.sexp.wast.WastVisitor
-
Visit an
assert_trap
command. - visitAssertUnlinkable(String) - Method in class io.github.eutro.jwasm.sexp.wast.WastVisitor
-
Visit an
assert_unlinkable
command. - visitBinaryModule(Object) - Method in class io.github.eutro.jwasm.sexp.wast.WastModuleVisitor
-
Visit a module in binary text.
- visitBlockInsn(byte, BlockType) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitBlockInsn(byte, BlockType) - Method in class io.github.eutro.jwasm.ExprWriter
- visitBlockInsn(byte, BlockType) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitBreakInsn(byte, int) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitBreakInsn(byte, int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitBreakInsn(byte, int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitCallIndirectInsn(int, int) - Method in class io.github.eutro.jwasm.ExprVisitor
-
Visit a call_indirect instr.
- visitCallIndirectInsn(int, int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitCallIndirectInsn(int, int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitCallInsn(int) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitCallInsn(int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitCallInsn(int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitCode() - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit the code section of a module.
- visitCode() - Method in class io.github.eutro.jwasm.ModuleWriter
- visitCode() - Method in class io.github.eutro.jwasm.tree.ModuleNode
- visitCode(byte[]) - Method in class io.github.eutro.jwasm.CodesVisitor
-
Visit the code of a function.
- visitCode(byte[]) - Method in class io.github.eutro.jwasm.CodesWriter
- visitCode(byte[]) - Method in class io.github.eutro.jwasm.tree.CodesNode
- visitConstInsn(Object) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitConstInsn(Object) - Method in class io.github.eutro.jwasm.ExprWriter
- visitConstInsn(Object) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitCustom(String, byte[]) - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit a custom section of the module.
- visitCustom(String, byte[]) - Method in class io.github.eutro.jwasm.ModuleWriter
- visitCustom(String, byte[]) - Method in class io.github.eutro.jwasm.tree.ModuleNode
- visitData() - Method in class io.github.eutro.jwasm.DataSegmentsVisitor
-
Visit a data segment of the module.
- visitData() - Method in class io.github.eutro.jwasm.DataSegmentsWriter
- visitData() - Method in class io.github.eutro.jwasm.tree.DataSegmentsNode
- visitDataCount(int) - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit the data count section of a module.
- visitDataCount(int) - Method in class io.github.eutro.jwasm.ModuleWriter
- visitDataCount(int) - Method in class io.github.eutro.jwasm.tree.ModuleNode
- visitDatas() - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit the data section of a module.
- visitDatas() - Method in class io.github.eutro.jwasm.ModuleWriter
- visitDatas() - Method in class io.github.eutro.jwasm.tree.ModuleNode
- visitElem() - Method in class io.github.eutro.jwasm.ElementSegmentsVisitor
-
Visit an element segment of the module.
- visitElem() - Method in class io.github.eutro.jwasm.ElementSegmentsWriter
- visitElem() - Method in class io.github.eutro.jwasm.tree.ElementSegmentsNode
- visitElemIndices(int[]) - Method in class io.github.eutro.jwasm.ElementVisitor
-
Visit a vector of function indices to reference in the init exprs.
- visitElemIndices(int[]) - Method in class io.github.eutro.jwasm.ElementWriter
- visitElemIndices(int[]) - Method in class io.github.eutro.jwasm.tree.ElementNode
- visitElems() - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit the element section of a module.
- visitElems() - Method in class io.github.eutro.jwasm.ModuleWriter
- visitElems() - Method in class io.github.eutro.jwasm.tree.ModuleNode
- visitElseInsn() - Method in class io.github.eutro.jwasm.ExprVisitor
- visitElseInsn() - Method in class io.github.eutro.jwasm.ExprWriter
- visitElseInsn() - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitEnd() - Method in class io.github.eutro.jwasm.BaseVisitor
-
Finish visiting this visitor.
- visitEnd() - Method in class io.github.eutro.jwasm.CodesWriter
- visitEnd() - Method in class io.github.eutro.jwasm.DataSegmentsWriter
- visitEnd() - Method in class io.github.eutro.jwasm.DataWriter
- visitEnd() - Method in class io.github.eutro.jwasm.ElementSegmentsWriter
- visitEnd() - Method in class io.github.eutro.jwasm.ElementWriter
- visitEnd() - Method in class io.github.eutro.jwasm.ExportsWriter
- visitEnd() - Method in class io.github.eutro.jwasm.ExprWriter
- visitEnd() - Method in class io.github.eutro.jwasm.FunctionsWriter
- visitEnd() - Method in class io.github.eutro.jwasm.GlobalsWriter
- visitEnd() - Method in class io.github.eutro.jwasm.ImportsWriter
- visitEnd() - Method in class io.github.eutro.jwasm.MemoriesWriter
- visitEnd() - Method in class io.github.eutro.jwasm.TablesWriter
- visitEnd() - Method in class io.github.eutro.jwasm.tree.analysis.ModuleValidator
- visitEnd() - Method in class io.github.eutro.jwasm.TypesWriter
- visitEndInsn() - Method in class io.github.eutro.jwasm.ExprVisitor
- visitEndInsn() - Method in class io.github.eutro.jwasm.ExprWriter
- visitEndInsn() - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitExport(String, byte, int) - Method in class io.github.eutro.jwasm.ExportsVisitor
-
Visit an export of a module.
- visitExport(String, byte, int) - Method in class io.github.eutro.jwasm.ExportsWriter
- visitExport(String, byte, int) - Method in class io.github.eutro.jwasm.tree.ExportsNode
- visitExports() - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit the export section of a module.
- visitExports() - Method in class io.github.eutro.jwasm.ModuleWriter
- visitExports() - Method in class io.github.eutro.jwasm.tree.ModuleNode
- visitFunc(int) - Method in class io.github.eutro.jwasm.FunctionsVisitor
-
Visit the type of a function that is defined in the module.
- visitFunc(int) - Method in class io.github.eutro.jwasm.FunctionsWriter
- visitFunc(int) - Method in class io.github.eutro.jwasm.tree.FunctionsNode
- visitFuncImport(String, String, int) - Method in class io.github.eutro.jwasm.ImportsVisitor
-
Visit a
func
import. - visitFuncImport(String, String, int) - Method in class io.github.eutro.jwasm.ImportsWriter
- visitFuncImport(String, String, int) - Method in class io.github.eutro.jwasm.tree.ImportsNode
- visitFuncRefInsn(int) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitFuncRefInsn(int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitFuncRefInsn(int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitFuncs() - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit the function section of a module.
- visitFuncs() - Method in class io.github.eutro.jwasm.ModuleWriter
- visitFuncs() - Method in class io.github.eutro.jwasm.tree.ModuleNode
- visitFuncType(byte[], byte[]) - Method in class io.github.eutro.jwasm.tree.TypesNode
- visitFuncType(byte[], byte[]) - Method in class io.github.eutro.jwasm.TypesVisitor
-
Visit a
functype
element of the type vector. - visitFuncType(byte[], byte[]) - Method in class io.github.eutro.jwasm.TypesWriter
- visitGet(String, String) - Method in class io.github.eutro.jwasm.sexp.wast.ActionVisitor
-
Visit a
get
action, which gets an exported global. - visitGlobal(byte, byte) - Method in class io.github.eutro.jwasm.GlobalsVisitor
-
Visit a global of the module.
- visitGlobal(byte, byte) - Method in class io.github.eutro.jwasm.GlobalsWriter
- visitGlobal(byte, byte) - Method in class io.github.eutro.jwasm.tree.GlobalsNode
- visitGlobalImport(String, String, byte, byte) - Method in class io.github.eutro.jwasm.ImportsVisitor
-
Visit a
global
import. - visitGlobalImport(String, String, byte, byte) - Method in class io.github.eutro.jwasm.ImportsWriter
- visitGlobalImport(String, String, byte, byte) - Method in class io.github.eutro.jwasm.tree.ImportsNode
- visitGlobals() - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit the global section of a module.
- visitGlobals() - Method in class io.github.eutro.jwasm.ModuleWriter
- visitGlobals() - Method in class io.github.eutro.jwasm.tree.ModuleNode
- visitHeader(int) - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit the version field of the module.
- visitHeader(int) - Method in class io.github.eutro.jwasm.ModuleWriter
- visitHeader(int) - Method in class io.github.eutro.jwasm.tree.ModuleNode
- visitImports() - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit the import section of a module.
- visitImports() - Method in class io.github.eutro.jwasm.ModuleWriter
- visitImports() - Method in class io.github.eutro.jwasm.tree.ModuleNode
- visitIndexedMemInsn(int, int) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitIndexedMemInsn(int, int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitIndexedMemInsn(int, int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitInit() - Method in class io.github.eutro.jwasm.ElementVisitor
-
Visit a single expr in the vector of
init
exprs. - visitInit() - Method in class io.github.eutro.jwasm.ElementWriter
- visitInit() - Method in class io.github.eutro.jwasm.tree.ElementNode
- visitInit(byte[]) - Method in class io.github.eutro.jwasm.DataVisitor
-
Visit the
init
bytes of the data segment. - visitInit(byte[]) - Method in class io.github.eutro.jwasm.DataWriter
- visitInit(byte[]) - Method in class io.github.eutro.jwasm.tree.DataNode
- visitInsn(byte) - Method in class io.github.eutro.jwasm.ExprVisitor
-
Visit an instr with no immediate arguments.
- visitInsn(byte) - Method in class io.github.eutro.jwasm.ExprWriter
- visitInsn(byte) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitInvoke(String, String, Object...) - Method in class io.github.eutro.jwasm.sexp.wast.ActionVisitor
-
Visit an
invoke
action, which invokes the given exported function on a module. - visitMemImport(String, String, int, Integer) - Method in class io.github.eutro.jwasm.ImportsVisitor
-
Visit a
mem
import. - visitMemImport(String, String, int, Integer) - Method in class io.github.eutro.jwasm.ImportsWriter
- visitMemImport(String, String, int, Integer) - Method in class io.github.eutro.jwasm.tree.ImportsNode
- visitMemInsn(byte, int, int) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitMemInsn(byte, int, int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitMemInsn(byte, int, int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitMemory(int, Integer) - Method in class io.github.eutro.jwasm.MemoriesVisitor
-
Visit a linear memory of the module.
- visitMemory(int, Integer) - Method in class io.github.eutro.jwasm.MemoriesWriter
- visitMemory(int, Integer) - Method in class io.github.eutro.jwasm.tree.MemoriesNode
- visitMems() - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit the memory section of a module.
- visitMems() - Method in class io.github.eutro.jwasm.ModuleWriter
- visitMems() - Method in class io.github.eutro.jwasm.tree.ModuleNode
- visitModule(String) - Method in class io.github.eutro.jwasm.sexp.wast.WastVisitor
-
Visit a top-level module command.
- visitNonActiveMode(boolean) - Method in class io.github.eutro.jwasm.ElementVisitor
-
Visit the mode of an element segment that is not active.
- visitNonActiveMode(boolean) - Method in class io.github.eutro.jwasm.ElementWriter
- visitNonActiveMode(boolean) - Method in class io.github.eutro.jwasm.tree.ElementNode
- visitNullInsn(byte) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitNullInsn(byte) - Method in class io.github.eutro.jwasm.ExprWriter
- visitNullInsn(byte) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitOther(String, List<?>) - Method in class io.github.eutro.jwasm.sexp.wast.ActionVisitor
-
Visit an unrecognised action.
- visitOther(String, List<?>) - Method in class io.github.eutro.jwasm.sexp.wast.WastVisitor
-
Visit an unrecognised top-level command.
- visitPc(long) - Method in class io.github.eutro.jwasm.ExprVisitor
-
Visit the program counter, the offset in bytes from the start of the binary module.
- visitPc(long) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitPrefixBinaryTableInsn(int, int, int) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitPrefixBinaryTableInsn(int, int, int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitPrefixBinaryTableInsn(int, int, int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitPrefixInsn(int) - Method in class io.github.eutro.jwasm.ExprVisitor
-
Visit a prefix instr, one encoded with
Opcodes.INSN_PREFIX
followed by a variable-lengthu32
representing the actual opcode. - visitPrefixInsn(int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitPrefixInsn(int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitPrefixTableInsn(int, int) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitPrefixTableInsn(int, int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitPrefixTableInsn(int, int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitQuoteModule(Object) - Method in class io.github.eutro.jwasm.sexp.wast.WastModuleVisitor
-
Visit a module in quoted text.
- visitRegister(String, String) - Method in class io.github.eutro.jwasm.sexp.wast.WastVisitor
-
Visit a register command.
- visitSelectInsn(byte[]) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitSelectInsn(byte[]) - Method in class io.github.eutro.jwasm.ExprWriter
- visitSelectInsn(byte[]) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitStart(int) - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit the start section of a module.
- visitStart(int) - Method in class io.github.eutro.jwasm.ModuleWriter
- visitStart(int) - Method in class io.github.eutro.jwasm.tree.ModuleNode
- visitTable(int, Integer, byte) - Method in class io.github.eutro.jwasm.TablesVisitor
-
Visit the type of a table in the module.
- visitTable(int, Integer, byte) - Method in class io.github.eutro.jwasm.TablesWriter
- visitTable(int, Integer, byte) - Method in class io.github.eutro.jwasm.tree.TablesNode
- visitTableBreakInsn(int[], int) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitTableBreakInsn(int[], int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitTableBreakInsn(int[], int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitTableImport(String, String, int, Integer, byte) - Method in class io.github.eutro.jwasm.ImportsVisitor
-
Visit a
table
import. - visitTableImport(String, String, int, Integer, byte) - Method in class io.github.eutro.jwasm.ImportsWriter
- visitTableImport(String, String, int, Integer, byte) - Method in class io.github.eutro.jwasm.tree.ImportsNode
- visitTableInsn(byte, int) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitTableInsn(byte, int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitTableInsn(byte, int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitTables() - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit the table section of a module.
- visitTables() - Method in class io.github.eutro.jwasm.ModuleWriter
- visitTables() - Method in class io.github.eutro.jwasm.tree.ModuleNode
- VisitTarget - Enum Class in io.github.eutro.jwasm.attrs
-
A method of
ExprVisitor
. - visitTopAction() - Method in class io.github.eutro.jwasm.sexp.wast.WastVisitor
-
Visit a top-level action command.
- visitType(byte) - Method in class io.github.eutro.jwasm.ElementVisitor
-
Visit the
type
of the element segment. - visitType(byte) - Method in class io.github.eutro.jwasm.ElementWriter
- visitType(byte) - Method in class io.github.eutro.jwasm.tree.ElementNode
- visitTypes() - Method in class io.github.eutro.jwasm.ModuleVisitor
-
Visit the type section of a module.
- visitTypes() - Method in class io.github.eutro.jwasm.ModuleWriter
- visitTypes() - Method in class io.github.eutro.jwasm.tree.ModuleNode
- visitVariableInsn(byte, int) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitVariableInsn(byte, int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitVariableInsn(byte, int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitVectorConstOrShuffleInsn(int, byte[]) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitVectorConstOrShuffleInsn(int, byte[]) - Method in class io.github.eutro.jwasm.ExprWriter
- visitVectorConstOrShuffleInsn(int, byte[]) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitVectorInsn(int) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitVectorInsn(int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitVectorInsn(int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitVectorLaneInsn(int, byte) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitVectorLaneInsn(int, byte) - Method in class io.github.eutro.jwasm.ExprWriter
- visitVectorLaneInsn(int, byte) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitVectorMemInsn(int, int, int) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitVectorMemInsn(int, int, int) - Method in class io.github.eutro.jwasm.ExprWriter
- visitVectorMemInsn(int, int, int) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitVectorMemLaneInsn(int, int, int, byte) - Method in class io.github.eutro.jwasm.ExprVisitor
- visitVectorMemLaneInsn(int, int, int, byte) - Method in class io.github.eutro.jwasm.ExprWriter
- visitVectorMemLaneInsn(int, int, int, byte) - Method in class io.github.eutro.jwasm.tree.ExprNode
- visitWatModule(Object) - Method in class io.github.eutro.jwasm.sexp.wast.WastModuleVisitor
-
Visit an s-expression module.
W
- WastModuleVisitor - Class in io.github.eutro.jwasm.sexp.wast
-
A visitor which visits a module in a wast script.
- WastModuleVisitor() - Constructor for class io.github.eutro.jwasm.sexp.wast.WastModuleVisitor
-
Construct a
WastModuleVisitor
with no delegate. - WastModuleVisitor(WastModuleVisitor) - Constructor for class io.github.eutro.jwasm.sexp.wast.WastModuleVisitor
-
Construct a
WastModuleVisitor
with the given delegate. - WastReader - Class in io.github.eutro.jwasm.sexp.wast
-
A reader for the WebAssembly spec interpreter script format.
- WastReader.Checkable - Interface in io.github.eutro.jwasm.sexp.wast
- WastReader.ExternRef - Class in io.github.eutro.jwasm.sexp.wast
- WastReader.FuncRef - Class in io.github.eutro.jwasm.sexp.wast
- WastVisitor - Class in io.github.eutro.jwasm.sexp.wast
-
A visitor which visits a wast script.
- WastVisitor() - Constructor for class io.github.eutro.jwasm.sexp.wast.WastVisitor
-
Construct a
WastVisitor
with no delegate. - WastVisitor(WastVisitor) - Constructor for class io.github.eutro.jwasm.sexp.wast.WastVisitor
-
Construct a
WastVisitor
with the given delegate. - WatParser - Class in io.github.eutro.jwasm.sexp
-
A class with static methods for parsing
ModuleNode
s from parsed s-expressions. - WatParser() - Constructor for class io.github.eutro.jwasm.sexp.WatParser
- WatParser.ParseException - Exception in io.github.eutro.jwasm.sexp
-
An exception thrown if the module being parsed was not syntactically valid.
- WatReader<E extends Exception> - Class in io.github.eutro.jwasm.sexp
-
A class for reading s-expressions from text.
- WatReader(ByteInputStream<E>) - Constructor for class io.github.eutro.jwasm.sexp.WatReader
-
Construct a reader over the given stream.
- WatReader.MemArgPart - Class in io.github.eutro.jwasm.sexp
- WatReader.MemArgPart.Type - Enum Class in io.github.eutro.jwasm.sexp
- WatReader.ParsedNumber - Class in io.github.eutro.jwasm.sexp
- WatReader.ParsedNumber.ExpType - Enum Class in io.github.eutro.jwasm.sexp
- WatReader.ParsedNumber.NanType - Enum Class in io.github.eutro.jwasm.sexp
- WatWriter - Class in io.github.eutro.jwasm.sexp
-
A class for writing s-expressions.
- WatWriter(PrintStream) - Constructor for class io.github.eutro.jwasm.sexp.WatWriter
-
Construct a new
WatWriter
that writes to the givenPrintStream
. - write(Object) - Method in class io.github.eutro.jwasm.sexp.WatWriter
-
Write an object to the stream.
- writeToString(Object) - Static method in class io.github.eutro.jwasm.sexp.WatWriter
-
Convert an object to a string, as if by
write(Object)
. - writeUTF8CodePoint(ByteArrayOutputStream, int) - Static method in class io.github.eutro.jwasm.sexp.internal.Token
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form