UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

21 lines (19 loc) 834 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SysCallInstanceMemberArray = void 0; const BuiltinInstanceMemberValue_1 = require("../BuiltinInstanceMemberValue"); class SysCallInstanceMemberArray extends BuiltinInstanceMemberValue_1.BuiltinInstanceMemberValue { constructor(syscall, valueType, type) { super(); this.syscall = syscall; this.valueType = valueType; this.type = type; } emit(sb, node, options) { sb.emitHelper(node, options, sb.helpers.unwrapVal({ type: this.valueType })); sb.emitSysCall(node, this.syscall); sb.emitHelper(node, options, sb.helpers.wrapArrayVal({ type: this.type })); } } exports.SysCallInstanceMemberArray = SysCallInstanceMemberArray; //# sourceMappingURL=SysCallInstanceMemberArray.js.map