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

Function parse

scripts/buildRegistry.mjs:182–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180 let ast = recast.parse(content, {
181 parser: {
182 parse() {
183 return parse(content, {
184 sourceType: 'module',
185 plugins: ['typescript', 'jsx', 'importAttributes'],
186 sourceFilename: file,
187 tokens: true,
188 errorRecovery: true
189 });
190 }
191 }
192 });
193

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected