Sha256: 599c8755213cd9686d937b2c0b1aaeb52305624cf98a066e45344556066e6186
Contents?: true
Size: 636 Bytes
Versions: 31
Compression:
Stored size: 636 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getSectionForNode = getSectionForNode; function getSectionForNode(n) { switch (n.type) { case "ModuleImport": return "import"; case "CallInstruction": case "CallIndirectInstruction": case "Func": case "Instr": return "code"; case "ModuleExport": return "export"; case "Start": return "start"; case "TypeInstruction": return "type"; case "IndexInFuncSection": return "func"; case "Global": return "global"; // No section default: return; } }
Version data entries
31 entries across 30 versions & 10 rubygems