Debian Codegraph @

packages/babel-core/test/fixtures/plugins/override/parser-override/plugin.js

raw symbols SCIP
1 module.exports = function (api) {
2 return {
3 parserOverride(code, opts, parse) {
4 const ast = parse(code, opts);
5 ast.program.body[0].expression.value = 0;
6 return ast;
7 },
8 };
9 };