UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

14 lines (12 loc) 400 B
import ts from 'typescript'; import { NodeCompiler } from '../NodeCompiler'; export class BlockCompiler extends NodeCompiler { constructor() { super(...arguments); this.kind = ts.SyntaxKind.Block; } visitNode(sb, expr, options) { sb.emitHelper(expr, options, sb.helpers.processStatements({ createScope: true })); } } //# sourceMappingURL=BlockCompiler.js.map