PHP 8.2.30
Preview: parse.js Size: 1.38 KB
/home/byroehnu/easepay.easetack.com/node_modules/@babel/core/lib/parse.js

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.parse = void 0;
exports.parseAsync = parseAsync;
exports.parseSync = parseSync;
function _gensync() {
  const data = require("gensync");
  _gensync = function () {
    return data;
  };
  return data;
}
var _index = require("./config/index.js");
var _index2 = require("./parser/index.js");
var _normalizeOpts = require("./transformation/normalize-opts.js");
var _rewriteStackTrace = require("./errors/rewrite-stack-trace.js");
const parseRunner = _gensync()(function* parse(code, opts) {
  const config = yield* (0, _index.default)(opts);
  if (config === null) {
    return null;
  }
  return yield* (0, _index2.default)(config.passes, (0, _normalizeOpts.default)(config), code);
});
const parse = exports.parse = function parse(code, opts, callback) {
  if (typeof opts === "function") {
    callback = opts;
    opts = undefined;
  }
  if (callback === undefined) {
    return (0, _rewriteStackTrace.beginHiddenCallStack)(parseRunner.sync)(code, opts);
  }
  (0, _rewriteStackTrace.beginHiddenCallStack)(parseRunner.errback)(code, opts, callback);
};
function parseSync(...args) {
  return (0, _rewriteStackTrace.beginHiddenCallStack)(parseRunner.sync)(...args);
}
function parseAsync(...args) {
  return (0, _rewriteStackTrace.beginHiddenCallStack)(parseRunner.async)(...args);
}
0 && 0;

//# sourceMappingURL=parse.js.map

Directory Contents

Dirs: 7 × Files: 13

Name Size Perms Modified Actions
config DIR
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
errors DIR
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
parser DIR
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
tools DIR
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
vendor DIR
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
127 B lr--r--r-- 2026-03-14 01:49:05
Edit Download
5.72 KB lrw-r--r-- 2026-02-28 00:29:42
Edit Download
5.94 KB lrw-r--r-- 2026-02-28 00:29:44
Edit Download
1.38 KB lrw-r--r-- 2026-02-28 00:29:44
Edit Download
3.60 KB lrw-r--r-- 2026-02-28 00:29:44
Edit Download
1.63 KB lrw-r--r-- 2026-02-28 00:29:52
Edit Download
4.36 KB lrw-r--r-- 2026-02-28 00:29:54
Edit Download
733 B lrw-r--r-- 2026-02-28 00:29:54
Edit Download
1.51 KB lrw-r--r-- 2026-02-28 00:29:54
Edit Download
1.08 KB lrw-r--r-- 2026-02-28 00:29:54
Edit Download
3.16 KB lrw-r--r-- 2026-02-28 00:29:56
Edit Download
1.46 KB lrw-r--r-- 2026-02-28 00:29:58
Edit Download
3.90 KB lrw-r--r-- 2026-02-28 00:29:58
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).