diff options
Diffstat (limited to 'assets/node_modules/@babel/parser/lib/parser/base.js')
-rw-r--r-- | assets/node_modules/@babel/parser/lib/parser/base.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/assets/node_modules/@babel/parser/lib/parser/base.js b/assets/node_modules/@babel/parser/lib/parser/base.js new file mode 100644 index 0000000..23d7ff2 --- /dev/null +++ b/assets/node_modules/@babel/parser/lib/parser/base.js @@ -0,0 +1,24 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +class BaseParser { + constructor() { + this.sawUnambiguousESM = false; + this.ambiguousScriptDifferentAst = false; + } + + hasPlugin(name) { + return this.plugins.has(name); + } + + getPluginOption(plugin, name) { + if (this.hasPlugin(plugin)) return this.plugins.get(plugin)[name]; + } + +} + +exports.default = BaseParser;
\ No newline at end of file |