MCPcopy Create free account
hub / github.com/adobe/react-spectrum / parse

Function parse

scripts/migrateDeps.mjs:550–558  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

548 let ast = recast.parse(content, {
549 parser: {
550 parse() {
551 return parse(content, {
552 sourceType: 'module',
553 plugins: ['typescript', 'jsx', 'importAttributes'],
554 sourceFilename: file,
555 tokens: true,
556 errorRecovery: true
557 });
558 }
559 }
560 });
561

Callers 3

buildImportMapFunction · 0.70
writePrivateExportsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected