UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

20 lines (18 loc) 795 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ParenthesizedExpressionCompiler = void 0; const tslib_1 = require("tslib"); const ts_utils_1 = require("@neo-one/ts-utils"); const typescript_1 = tslib_1.__importDefault(require("typescript")); const NodeCompiler_1 = require("../NodeCompiler"); class ParenthesizedExpressionCompiler extends NodeCompiler_1.NodeCompiler { constructor() { super(...arguments); this.kind = typescript_1.default.SyntaxKind.ParenthesizedExpression; } visitNode(sb, expr, options) { sb.visit(ts_utils_1.tsUtils.expression.getExpression(expr), options); } } exports.ParenthesizedExpressionCompiler = ParenthesizedExpressionCompiler; //# sourceMappingURL=ParenthesizedExpressionCompiler.js.map