UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

19 lines (17 loc) 651 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BlockCompiler = void 0; const tslib_1 = require("tslib"); const typescript_1 = tslib_1.__importDefault(require("typescript")); const NodeCompiler_1 = require("../NodeCompiler"); class BlockCompiler extends NodeCompiler_1.NodeCompiler { constructor() { super(...arguments); this.kind = typescript_1.default.SyntaxKind.Block; } visitNode(sb, expr, options) { sb.emitHelper(expr, options, sb.helpers.processStatements({ createScope: true })); } } exports.BlockCompiler = BlockCompiler; //# sourceMappingURL=BlockCompiler.js.map