1# source binary: module-multi-import.abc 2 3.language ECMAScript 4 5# ==================== 6# LITERALS 7 80 0x685 { 4 [ string:"fun", method:fun, method_affiliate:2, i32:1, ]} 93 0x375 { 4 [ string:"fun1", method:fun1, method_affiliate:2, i32:1, ]} 101 0x5ff { 11 [ ModuleTag: REGULAR_IMPORT, local_name: a, import_name: a, module_request: ./module-multi-export.js; ModuleTag: REGULAR_IMPORT, local_name: b1, import_name: b1, module_request: ./module-multi-export.js; ModuleTag: REGULAR_IMPORT, local_name: b2, import_name: b2, module_request: ./module-multi-export.js; ModuleTag: REGULAR_IMPORT, local_name: c, import_name: c, module_request: ./module-multi-export.js; ModuleTag: REGULAR_IMPORT, local_name: dd, import_name: default, module_request: ./module-multi-export.js; ModuleTag: REGULAR_IMPORT, local_name: ee, import_name: default, module_request: ./module-multi-export.js; ModuleTag: REGULAR_IMPORT, local_name: ff, import_name: f, module_request: ./module-multi-export.js; ModuleTag: REGULAR_IMPORT, local_name: g, import_name: g, module_request: ./module-multi-export.js; ModuleTag: REGULAR_IMPORT, local_name: hh, import_name: h, module_request: ./module-multi-export.js; ModuleTag: NAMESPACE_IMPORT, local_name: n, module_request: ./module-multi-export.js; ModuleTag: NAMESPACE_IMPORT, local_name: ns, module_request: ./module-multi-export.js; ]} 112 0x492 { 3 [ ModuleTag: LOCAL_EXPORT, local_name: a, export_name: a; ModuleTag: LOCAL_EXPORT, local_name: b, export_name: b; ModuleTag: LOCAL_EXPORT, local_name: c, export_name: c; ]} 124 0x2f9 { 12 [ ModuleTag: LOCAL_EXPORT, local_name: ClassB, export_name: ClassB, module_request: ./module-export-file.js; ModuleTag: LOCAL_EXPORT, local_name: FunctionC, export_name: FunctionC, module_request: ./module-export-file.js; ModuleTag: LOCAL_EXPORT, local_name: a, export_name: a, module_request: ./module-export-file.js; ModuleTag: LOCAL_EXPORT, local_name: b1, export_name: b1, module_request: ./module-export-file.js; ModuleTag: LOCAL_EXPORT, local_name: b2, export_name: b2, module_request: ./module-export-file.js; ModuleTag: LOCAL_EXPORT, local_name: d, export_name: dd, module_request: ./module-export-file.js; ModuleTag: LOCAL_EXPORT, local_name: e, export_name: ee, module_request: ./module-export-file.js; ModuleTag: LOCAL_EXPORT, local_name: f, export_name: f, module_request: ./module-export-file.js; ModuleTag: LOCAL_EXPORT, local_name: g, export_name: g, module_request: ./module-export-file.js; ModuleTag: LOCAL_EXPORT, local_name: h, export_name: h, module_request: ./module-export-file.js; ModuleTag: INDIRECT_EXPORT, export_name: c, import_name: c, module_request: ./module-export-file.js; ModuleTag: STAR_EXPORT, module_request: ./module-export-file.js; ]} 13 14# ==================== 15# RECORDS 16 17.record _ESConcurrentModuleRequestsAnnotation { 18} 19 20.record _ESSlotNumberAnnotation { 21} 22 23.record _ESTypeAnnotation <external> 24 25.record module-export-file { 26 u8 pkgName@ = 0x0 27 u8 isCommonjs = 0x0 28 u32 moduleRecordIdx = 0x492 29} 30 31.record module-multi-export { 32 u8 pkgName@ = 0x0 33 u8 isCommonjs = 0x0 34 u32 moduleRecordIdx = 0x2f9 35} 36 37.record module-multi-import { 38 u8 pkgName@ = 0x0 39 u8 isCommonjs = 0x0 40 u32 moduleRecordIdx = 0x5ff 41} 42 43# ==================== 44# METHODS 45 46.function any module-export-file.func_main_0(any a0, any a1, any a2) <static> { 47 ldai 0x1 48 stmodulevar 0x0 49 ldai 0x2 50 stmodulevar 0x1 51 ldai 0x3 52 stmodulevar 0x2 53 ldundefined 54 returnundefined 55} 56 57.function any module-multi-export.ClassB(any a0, any a1, any a2) <static> { 58 lda a2 59 return 60} 61 62.function any module-multi-export.FunctionC(any a0, any a1, any a2) <static> { 63 ldundefined 64 returnundefined 65} 66 67.function any module-multi-export.fun1(any a0, any a1, any a2, any a3, any a4) <static> { 68 lda a4 69 add2 0x0, a3 70 return 71} 72 73.function any module-multi-export.func_main_0(any a0, any a1, any a2) <static> { 74 definefunc 0x0, module-multi-export.FunctionC:(any,any,any), 0x0 75 stmodulevar 0x1 76 ldai 0x1 77 stmodulevar 0x2 78 ldai 0x2 79 stmodulevar 0x3 80 ldai 0x3 81 stmodulevar 0x4 82 ldai 0x5 83 stmodulevar 0x5 84 ldai 0x6 85 stmodulevar 0x6 86 ldai 0x7 87 stmodulevar 0x7 88 ldai 0x8 89 stmodulevar 0x8 90 ldai 0x9 91 stmodulevar 0x9 92 ldhole 93 sta v0 94 defineclasswithbuffer 0x1, module-multi-export.ClassB:(any,any,any), { 4 [ string:"fun1", method:fun1, method_affiliate:2, i32:1, ]}, 0x0, v0 95 sta v0 96 ldobjbyname 0x2, "prototype" 97 lda v0 98 stmodulevar 0x0 99 ldundefined 100 returnundefined 101} 102 103.function any module-multi-import.ClassA(any a0, any a1, any a2) <static> { 104 lda.str "test" 105 stobjbyname 0x0, "str", a2 106 lda a2 107 return 108} 109 110.function any module-multi-import.fun(any a0, any a1, any a2, any a3, any a4) <static> { 111 lda a4 112 add2 0x0, a3 113 return 114} 115 116.function any module-multi-import.func_main_0(any a0, any a1, any a2) <static> { 117 getmodulenamespace 0x0 118 getmodulenamespace 0x0 119 ldhole 120 sta v0 121 defineclasswithbuffer 0x0, module-multi-import.ClassA:(any,any,any), { 4 [ string:"fun", method:fun, method_affiliate:2, i32:1, ]}, 0x0, v0 122 ldobjbyname 0x1, "prototype" 123 ldundefined 124 returnundefined 125} 126 127# ==================== 128# STRING 129 130[offset:0x120, name_value:prototype] 131[offset:0x4e5, name_value:str] 132[offset:0x4ea, name_value:test] 133