WasmBetterC

Undocumented in source.
@safe
class WasmBetterC : InterfaceModule (
Output
) {}

Constructors

this
this(WasmReader wasmstream, Output output, string spacer)
Undocumented in source.

Members

Aliases

Code
alias Code = Sections[Section.CODE]
Undocumented in source.
CodeType
alias CodeType = WasmReader.WasmRange.WasmSection.CodeType
Undocumented in source.
Custom
alias Custom = Sections[Section.CUSTOM]
Undocumented in source.
Data
alias Data = Sections[Section.DATA]
Undocumented in source.
Element
alias Element = Sections[Section.ELEMENT]
Undocumented in source.
Export
alias Export = Sections[Section.EXPORT]
Undocumented in source.
ExportType
alias ExportType = WasmReader.WasmRange.WasmSection.ExportType
Undocumented in source.
FuncType
alias FuncType = WasmReader.WasmRange.WasmSection.FuncType
Undocumented in source.
Function
alias Function = Sections[Section.FUNCTION]
Undocumented in source.
Global
alias Global = Sections[Section.GLOBAL]
Undocumented in source.
GlobalDesc
alias GlobalDesc = WasmReader.WasmRange.WasmSection.ImportType.ImportDesc.GlobalDesc
Undocumented in source.
Import
alias Import = Sections[Section.IMPORT]
Undocumented in source.
ImportType
alias ImportType = WasmReader.WasmRange.WasmSection.ImportType
Undocumented in source.
Limit
alias Limit = WasmReader.Limit
Undocumented in source.
Memory
alias Memory = Sections[Section.MEMORY]
Undocumented in source.
Sections
alias Sections = WasmReader.Sections
Undocumented in source.
Start
alias Start = Sections[Section.START]
Undocumented in source.
Table
alias Table = Sections[Section.TABLE]
Undocumented in source.
Type
alias Type = Sections[Section.TYPE]
Undocumented in source.
TypeIndex
alias TypeIndex = WasmReader.WasmRange.WasmSection.TypeIndex
Undocumented in source.

Functions

code_sec
void code_sec(const(Code) _code)
Undocumented in source. Be warned that the author may not have intended to support it.
custom_sec
void custom_sec(const(Custom) _custom)
Undocumented in source. Be warned that the author may not have intended to support it.
data_sec
void data_sec(const(Data) _data)
Undocumented in source. Be warned that the author may not have intended to support it.
element_sec
void element_sec(const(Element) _element)
Undocumented in source. Be warned that the author may not have intended to support it.
export_sec
void export_sec(const(Export) _export)
Undocumented in source. Be warned that the author may not have intended to support it.
function_name
string function_name(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
function_sec
void function_sec(const(Function) _function)
Undocumented in source. Be warned that the author may not have intended to support it.
getExport
ExportType getExport(int idx)
Undocumented in source. Be warned that the author may not have intended to support it.
global_sec
void global_sec(const(Global) _global)
Undocumented in source. Be warned that the author may not have intended to support it.
import_sec
void import_sec(const(Import) _import)
Undocumented in source. Be warned that the author may not have intended to support it.
memory_sec
void memory_sec(const(Memory) _memory)
Undocumented in source. Be warned that the author may not have intended to support it.
produceAsserts
void produceAsserts(Document doc, string indent)
Undocumented in source. Be warned that the author may not have intended to support it.
serialize
Output serialize()
Undocumented in source. Be warned that the author may not have intended to support it.
start_sec
void start_sec(const(Start) _start)
Undocumented in source. Be warned that the author may not have intended to support it.
table_sec
void table_sec(const(Table) _table)
Undocumented in source. Be warned that the author may not have intended to support it.
type_sec
void type_sec(const(Type) _type)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

max_linewidth
enum max_linewidth;
Undocumented in source.

Static functions

dType
string dType(Types type)
Undocumented in source. Be warned that the author may not have intended to support it.
function_params
string function_params(const(Types[]) types)
Undocumented in source. Be warned that the author may not have intended to support it.
globalToString
string globalToString(GlobalDesc globaldesc)
Undocumented in source. Be warned that the author may not have intended to support it.
limitToString
string limitToString(Limit limit)
Undocumented in source. Be warned that the author may not have intended to support it.
offsetAlignToString
string offsetAlignToString(const(WasmArg[]) wargs)
Undocumented in source.
param_name
string param_name(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
return_type
string return_type(const(Types[]) types)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Context
struct Context
Undocumented in source.

Variables

_function
Function _function;
Undocumented in source.
attributes
string[] attributes;
Undocumented in source.
imports
string[] imports;
Undocumented in source.
indent
string indent;
Undocumented in source.
module_name
string module_name;
Undocumented in source.
output
Output output;
Undocumented in source.
spacer
string spacer;
Undocumented in source.
wasmstream
WasmReader wasmstream;
Undocumented in source.

Meta