source: imaps-frontend/node_modules/@babel/helper-create-regexp-features-plugin/lib/features.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 882 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.FEATURES = void 0;
7exports.enableFeature = enableFeature;
8exports.featuresKey = void 0;
9exports.hasFeature = hasFeature;
10exports.runtimeKey = void 0;
11const FEATURES = exports.FEATURES = Object.freeze({
12 unicodeFlag: 1 << 0,
13 dotAllFlag: 1 << 1,
14 unicodePropertyEscape: 1 << 2,
15 namedCaptureGroups: 1 << 3,
16 unicodeSetsFlag_syntax: 1 << 4,
17 unicodeSetsFlag: 1 << 5,
18 duplicateNamedCaptureGroups: 1 << 6,
19 modifiers: 1 << 7
20});
21const featuresKey = exports.featuresKey = "@babel/plugin-regexp-features/featuresKey";
22const runtimeKey = exports.runtimeKey = "@babel/plugin-regexp-features/runtimeKey";
23function enableFeature(features, feature) {
24 return features | feature;
25}
26function hasFeature(features, feature) {
27 return !!(features & feature);
28}
29
30//# sourceMappingURL=features.js.map
Note: See TracBrowser for help on using the repository browser.