Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / experimental-utils / dist / ast-utils / eslint-utils / PatternMatcher.js
1 "use strict";
2 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3     if (k2 === undefined) k2 = k;
4     Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5 }) : (function(o, m, k, k2) {
6     if (k2 === undefined) k2 = k;
7     o[k2] = m[k];
8 }));
9 var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10     Object.defineProperty(o, "default", { enumerable: true, value: v });
11 }) : function(o, v) {
12     o["default"] = v;
13 });
14 var __importStar = (this && this.__importStar) || function (mod) {
15     if (mod && mod.__esModule) return mod;
16     var result = {};
17     if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18     __setModuleDefault(result, mod);
19     return result;
20 };
21 Object.defineProperty(exports, "__esModule", { value: true });
22 exports.PatternMatcher = void 0;
23 const eslintUtils = __importStar(require("eslint-utils"));
24 /**
25  * The class to find a pattern in strings as handling escape sequences.
26  * It ignores the found pattern if it's escaped with `\`.
27  *
28  * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#patternmatcher-class}
29  */
30 const PatternMatcher = eslintUtils.PatternMatcher;
31 exports.PatternMatcher = PatternMatcher;
32 //# sourceMappingURL=PatternMatcher.js.map