Sha256: 7feee687f80932c74c533fc181e80edf441d9b6d2e8778eb5f55057780d2c4bc
Contents?: true
Size: 983 Bytes
Versions: 4
Compression:
Stored size: 983 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; class PluginPass { constructor(file, key, options) { this._map = new Map(); this.key = void 0; this.file = void 0; this.opts = void 0; this.cwd = void 0; this.filename = void 0; this.key = key; this.file = file; this.opts = options || {}; this.cwd = file.opts.cwd; this.filename = file.opts.filename; } set(key, val) { this._map.set(key, val); } get(key) { return this._map.get(key); } availableHelper(name, versionRange) { return this.file.availableHelper(name, versionRange); } addHelper(name) { return this.file.addHelper(name); } addImport() { return this.file.addImport(); } getModuleName() { return this.file.getModuleName(); } buildCodeFrameError(node, msg, Error) { return this.file.buildCodeFrameError(node, msg, Error); } } exports.default = PluginPass;
Version data entries
4 entries across 3 versions & 2 rubygems