source: trip-planner-front/node_modules/@babel/types/lib/converters/toSequenceExpression.js@ 59329aa

Last change on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 497 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = toSequenceExpression;
7
8var _gatherSequenceExpressions = require("./gatherSequenceExpressions");
9
10function toSequenceExpression(nodes, scope) {
11 if (!(nodes != null && nodes.length)) return;
12 const declars = [];
13 const result = (0, _gatherSequenceExpressions.default)(nodes, scope, declars);
14 if (!result) return;
15
16 for (const declar of declars) {
17 scope.push(declar);
18 }
19
20 return result;
21}
Note: See TracBrowser for help on using the repository browser.