UNPKG

@neo-one/smart-contract-compiler-esnext-esm

Version:

NEO•ONE TypeScript smart contract compiler.

18 lines (16 loc) 511 B
import { Helper } from '../Helper'; export class RawIteratorForEachKeyHelper extends Helper { constructor(options) { super(); this.each = options.each; } emit(sb, node, options) { sb.emitHelper(node, options, sb.helpers.rawIteratorForEachBase({ each: (innerOptions) => { sb.emitSysCall(node, 'Neo.Iterator.Key'); this.each(innerOptions); }, })); } } //# sourceMappingURL=RawIteratorForEachKeyHelper.js.map