tagion.wasm.WasmBase

Undocumented in source.

Members

Aliases

SectionsT
alias SectionsT(SectionType) = AliasSeq!(SectionType.Custom, SectionType.Type, SectionType.Import, SectionType.Function, SectionType.Table, SectionType.Memory, SectionType.Global, SectionType.Export, SectionType.Start, SectionType.Element, SectionType.Code, SectionType.Data)
Undocumented in source.
i32
alias i32 = decode!int
Undocumented in source.
i64
alias i64 = decode!long
Undocumented in source.
u32
alias u32 = decode!uint
Undocumented in source.
u64
alias u64 = decode!ulong
Undocumented in source.

Enums

IR
enum IR
Undocumented in source.
IRType
enum IRType
Undocumented in source.
IR_TRUNC_SAT
enum IR_TRUNC_SAT
Undocumented in source.
IndexType
enum IndexType
Undocumented in source.
Limits
enum Limits
Undocumented in source.
Mutable
enum Mutable
Undocumented in source.
PseudoWastInstr
enum PseudoWastInstr
Undocumented in source.
Section
enum Section
Undocumented in source.
Types
enum Types
Undocumented in source.
VerboseMode
enum VerboseMode
Undocumented in source.

Functions

GenerateInterfaceModule
string GenerateInterfaceModule()
Undocumented in source. Be warned that the author may not have intended to support it.
decode
T decode(immutable(ubyte[]) data, size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
generate_instrTable
immutable(Instr[IR]) generate_instrTable()
Undocumented in source. Be warned that the author may not have intended to support it.
getInstr
Instr getInstr()
Undocumented in source. Be warned that the author may not have intended to support it.
isWasmModule
bool isWasmModule()
Undocumented in source. Be warned that the author may not have intended to support it.
secname
string secname(Section s)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

InterfaceModuleT
interface InterfaceModuleT(T...)
Undocumented in source.

Static functions

getType
Types getType(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
indexName
string indexName(IndexType idx)
Undocumented in source. Be warned that the author may not have intended to support it.
typesName
string typesName(Types type)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

instrTable
immutable(Instr[IR]) instrTable;
Undocumented in source.
instrWastLookup
immutable(Instr[string]) instrWastLookup;
Undocumented in source.
irLookupTable
immutable(IR[string]) irLookupTable;
Undocumented in source.
trunc_sat_mnemonic
immutable(string[IR_TRUNC_SAT]) trunc_sat_mnemonic;
Undocumented in source.
verbose
Verbose verbose;
Undocumented in source.

Structs

ExprRange
struct ExprRange
Undocumented in source.
Instr
struct Instr
Undocumented in source.
Verbose
struct Verbose
Undocumented in source.
WasmArg
struct WasmArg
Undocumented in source.

Templates

toDType
template toDType(Types t)
Undocumented in source.
toWasmType
template toWasmType(T)
Undocumented in source.

Variables

illegalInstr
auto illegalInstr;
Undocumented in source.
magic
enum ubyte[] magic;
Undocumented in source.
wasm_version
enum ubyte[] wasm_version;
Undocumented in source.

Meta