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

Function Program

packages/dev/codemods/src/s1-to-s2/src/codemods/codemod.ts:217–219  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

215 const leadingComments = root.find(j.Program).get('body', 0).node.leadingComments;
216 traverse(root.paths()[0].node, {
217 Program(path) {
218 programPath = path;
219 },
220 ImportDeclaration(path) {
221 if (
222 path.node.source.value === '@adobe/react-spectrum' ||

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected