module wasm.dumper

Code Map

module wasm.dumper;


class Dumper : Reader
{
public:
	this() { }
	fn onHeader(header: Header) { }
	fn onSection(id: Section, data: const(u8)[]) SkipOrParse { }
	fn onCustomSection(name: string, data: const(u8)[]) { }
	fn onTypeEntry(num: u32, from: Type, args: Type[], ret: Type) { }
	fn onImportGlobal(num: u32, mod: string, field: string, t: Type, mut: bool) { }
	fn onImportFunc(num: u32, mod: string, field: string, index: u32) { }
	fn onFunctionEntry(num: u32, index: u32) { }
	fn onTableEntry(num: u32, elem_type: Type, l: Limits) { }
	fn onMemoryEntry(num: u32, l: Limits) { }
	fn onGlobalEntry(num: u32, type: Type, mut: bool, exp: InitExpr) { }
	fn onExportEntry(num: u32, name: string, kind: wasm.ExternalKind, index: u32) { }
	fn onStart(index: u32) { }
	fn onRelocSection(section: Section, name: string, count: u32) { }
	fn onRelocEntry(num: u32, type: RelocType, offset: u32, index: u32, addend: u32) { }
	fn onRelocSectionEnd() { }
	fn onFunctionBody(num: u32, types: Type[], counts: u32[]) { }
	fn onFunctionBodyEnd(num: u32) { }
	fn onOp(op: Opcode) { }
	fn onControl(op: Opcode, t: Type) { }
	fn onBranch(op: Opcode, relative_depth: u32) { }
	fn onCall(index: u32) { }
	fn onCallIndirect(typeIndex: u32) { }
	fn onOpMemory(op: Opcode, flags: u32, offset: u32) { }
	fn onOpVar(op: Opcode, index: u32) { }
	fn onOpI32Const(v: i32) { }
	fn onOpI64Const(v: i64) { }
	fn onOpF32Const(v: f32) { }
	fn onOpF64Const(v: f64) { }
	fn onReadError(err: string) { }
	fn onEOF() { }
	fn onTypeSection(count: u32) { }
	fn onImportSection(count: u32) { }
	fn onFunctionSection(count: u32) { }
	fn onTableSection(count: u32) { }
	fn onMemorySection(count: u32) { }
	fn onGlobalSection(count: u32) { }
	fn onExportSection(count: u32) { }
	fn onCodeSection(count: u32) { }
	fn onCode(data: const(u8)[]) { }
}