UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

20 lines (18 loc) 689 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BuiltinConstantBufferMemberValue = void 0; const BuiltinMemberValue_1 = require("./BuiltinMemberValue"); class BuiltinConstantBufferMemberValue extends BuiltinMemberValue_1.BuiltinMemberValue { constructor(value) { super(); this.value = value; } emit(sb, node, options) { if (options.pushValue) { sb.emitPushBuffer(node, this.value); sb.emitHelper(node, options, sb.helpers.wrapBuffer); } } } exports.BuiltinConstantBufferMemberValue = BuiltinConstantBufferMemberValue; //# sourceMappingURL=BuiltinConstantBufferMemberValue.js.map