source: trip-planner-front/node_modules/@babel/core/lib/config/plugin.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 744 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7
8class Plugin {
9 constructor(plugin, options, key) {
10 this.key = void 0;
11 this.manipulateOptions = void 0;
12 this.post = void 0;
13 this.pre = void 0;
14 this.visitor = void 0;
15 this.parserOverride = void 0;
16 this.generatorOverride = void 0;
17 this.options = void 0;
18 this.key = plugin.name || key;
19 this.manipulateOptions = plugin.manipulateOptions;
20 this.post = plugin.post;
21 this.pre = plugin.pre;
22 this.visitor = plugin.visitor || {};
23 this.parserOverride = plugin.parserOverride;
24 this.generatorOverride = plugin.generatorOverride;
25 this.options = options;
26 }
27
28}
29
30exports.default = Plugin;
Note: See TracBrowser for help on using the repository browser.