Sha256: 9dbc714a956da7763e3566f9b02534f684160db3f94d3ad6bf435ce65692f1a5

Contents?: true

Size: 433 Bytes

Versions: 7

Compression:

Stored size: 433 Bytes

Contents

"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;

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
enju_library-0.3.8 spec/dummy/node_modules/@babel/parser/lib/parser/base.js
condenser-0.2 lib/condenser/processors/node_modules/@babel/parser/lib/parser/base.js
condenser-0.1 lib/condenser/processors/node_modules/@babel/parser/lib/parser/base.js
condenser-0.0.12 lib/condenser/processors/node_modules/@babel/parser/lib/parser/base.js
condenser-0.0.11 lib/condenser/processors/node_modules/@babel/parser/lib/parser/base.js
condenser-0.0.10 lib/condenser/processors/node_modules/@babel/parser/lib/parser/base.js
condenser-0.0.9 lib/condenser/processors/node_modules/@babel/parser/lib/parser/base.js