UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

15 lines (13 loc) 475 B
import { tsUtils } from '@neo-one/ts-utils'; import ts from 'typescript'; import { NodeCompiler } from '../NodeCompiler'; export class ParenthesizedExpressionCompiler extends NodeCompiler { constructor() { super(...arguments); this.kind = ts.SyntaxKind.ParenthesizedExpression; } visitNode(sb, expr, options) { sb.visit(tsUtils.expression.getExpression(expr), options); } } //# sourceMappingURL=ParenthesizedExpressionCompiler.js.map