Sha256: e5797cc058f7ea3d692df0256c2bee4263b8c98d9a112aa0f90cc7548c58c71d

Contents?: true

Size: 724 Bytes

Versions: 1

Compression:

Stored size: 724 Bytes

Contents

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.generate = exports.parse = void 0;
const recast = require("recast");
function parse(code, options, parse) {
    return recast.parse(code, {
        parser: {
            parse(code) {
                return parse(code, Object.assign(Object.assign({}, options), { tokens: true }));
            },
        },
    });
}
exports.parse = parse;
function generate(ast) {
    return recast.print(ast, { sourceMapName: 'map.json' });
}
exports.generate = generate;
function default_1() {
    return {
        parserOverride: parse,
        generatorOverride: generate,
    };
}
exports.default = default_1;
//# sourceMappingURL=RecastPlugin.js.map

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wice_grid-7.1.0 node_modules/@codemod/core/build/RecastPlugin.js