Debian Codegraph @

packages/babel-plugin-proposal-unicode-property-regex/src/index.ts

raw symbols SCIP
1 /* eslint-disable @babel/development/plugin-name */
2 import { createRegExpFeaturePluginscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`index.ts`/createRegExpFeaturePlugin(). } from "@babel/helper-create-regexp-features-plugin"scip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`index.ts`/;
3 import { declarescip-typescript npm @babel/helper-plugin-utils 7.20.2 src/`index.ts`/declare(). } from "@babel/helper-plugin-utils"scip-typescript npm @babel/helper-plugin-utils 7.20.2 src/`index.ts`/;
4
5 export interface Optionsscip-typescript npm @babel/plugin-proposal-unicode-property-regex 7.18.6 src/`index.ts`/Options# {
6 useUnicodeFlagscip-typescript npm @babel/plugin-proposal-unicode-property-regex 7.18.6 src/`index.ts`/Options#useUnicodeFlag.?: boolean;
7 }
8
9 export default declarescip-typescript npm @babel/helper-plugin-utils 7.20.2 src/`index.ts`/declare().((api, options: Optionsscip-typescript npm @babel/plugin-proposal-unicode-property-regex 7.18.6 src/`index.ts`/Options#) => {
10 api.assertVersionscip-typescript npm @babel/core 7.20.12 src/config/helpers/`config-api.ts`/ConfigAPI#typeLiteral7:assertVersion.(7);
11
12 const { useUnicodeFlagscip-typescript npm @babel/plugin-proposal-unicode-property-regex 7.18.6 src/`index.ts`/Options#useUnicodeFlag. = true } = options;
13 if (typeof useUnicodeFlag !== "boolean") {
14 throw new Errorscip-typescript npm typescript 5.9.3 lib/`lib.es5.d.ts`/Error#(".useUnicodeFlag must be a boolean, or undefined");
15 }
16
17 return createRegExpFeaturePluginscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`index.ts`/createRegExpFeaturePlugin().({
18 namescip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`index.ts`/Options#name.: "proposal-unicode-property-regex",
19 featurescip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`index.ts`/Options#feature.: "unicodePropertyEscape",
20 optionsscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`index.ts`/Options#options.: { useUnicodeFlagscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`index.ts`/Options#options.typeLiteral7:useUnicodeFlag. },
21 });
22 });