Urara-Blog/node_modules/.pnpm-store/v3/files/86/c7b2fb2b1583ff5b9bd1ef2784f2b771d110e8908171600f1083fec557818ceda6f2232e89dc0fc8a6110c6fb30fca9348dabbd1bd2045ea95ecd916746e4e
2022-08-14 01:14:53 +08:00

21 lines
No EOL
497 B
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = toSequenceExpression;
var _gatherSequenceExpressions = require("./gatherSequenceExpressions");
function toSequenceExpression(nodes, scope) {
if (!(nodes != null && nodes.length)) return;
const declars = [];
const result = (0, _gatherSequenceExpressions.default)(nodes, scope, declars);
if (!result) return;
for (const declar of declars) {
scope.push(declar);
}
return result;
}