UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

22 lines (20 loc) 693 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RawEnumeratorEveryHelper = void 0; const Helper_1 = require("../Helper"); class RawEnumeratorEveryHelper extends Helper_1.Helper { constructor(options) { super(); this.each = options.each; } emit(sb, node, options) { sb.emitHelper(node, options, sb.helpers.rawIteratorEveryBase({ each: (innerOptions) => { sb.emitSysCall(node, 'Neo.Enumerator.Value'); this.each(innerOptions); }, })); } } exports.RawEnumeratorEveryHelper = RawEnumeratorEveryHelper; //# sourceMappingURL=RawEnumeratorEveryHelper.js.map