UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

16 lines (14 loc) 550 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GetCurrentModuleHelper = void 0; const Helper_1 = require("../Helper"); class GetCurrentModuleHelper extends Helper_1.Helper { emit(sb, node, options) { if (options.pushValue) { sb.scope.getGlobal(sb, node, options); sb.emitHelper(node, options, sb.helpers.getModule({ moduleIndex: sb.moduleIndex })); } } } exports.GetCurrentModuleHelper = GetCurrentModuleHelper; //# sourceMappingURL=GetCurrentModuleHelper.js.map