source: frontend/node_modules/@babel/eslint-parser/lib/index.cjs

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 950 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.meta = void 0;
7exports.parse = parse;
8exports.parseForESLint = parseForESLint;
9var _client = require("./client.cjs");
10const normalizeESLintConfig = require("./configuration.cjs");
11const analyzeScope = require("./analyze-scope.cjs");
12const baseParse = require("./parse.cjs");
13const client = new _client.LocalClient();
14const meta = exports.meta = {
15 name: "@babel/eslint-parser",
16 version: "7.28.6"
17};
18function parse(code, options = {}) {
19 return baseParse(code, normalizeESLintConfig(options), client);
20}
21function parseForESLint(code, options = {}) {
22 const normalizedOptions = normalizeESLintConfig(options);
23 const ast = baseParse(code, normalizedOptions, client);
24 const scopeManager = analyzeScope(ast, normalizedOptions, client);
25 return {
26 ast,
27 scopeManager,
28 visitorKeys: client.getVisitorKeys()
29 };
30}
31
32//# sourceMappingURL=index.cjs.map
Note: See TracBrowser for help on using the repository browser.