1 line
781 B
JSON
1 line
781 B
JSON
{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = toSequenceExpression;\n\nvar _gatherSequenceExpressions = _interopRequireDefault(require(\"./gatherSequenceExpressions\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nfunction toSequenceExpression(nodes, scope) {\n if (!nodes || !nodes.length) return;\n var declars = [];\n var result = (0, _gatherSequenceExpressions.default)(nodes, scope, declars);\n if (!result) return;\n\n for (var _i = 0, _declars = declars; _i < _declars.length; _i++) {\n var declar = _declars[_i];\n scope.push(declar);\n }\n\n return result;\n}","map":null,"metadata":{},"sourceType":"script"} |