MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / FunctionDeclaration

Function FunctionDeclaration

packages/main/src/babel/babel.ts:340–344  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

338 }),
339 ...(config.components && {
340 FunctionDeclaration(path) {
341 if (file_transform && path.node.id && isUpperCase(path.node.id.name)) {
342 addLocationToBody(path.node.body, path.node)
343 }
344 },
345 VariableDeclarator(path) {
346 if (file_transform &&
347 'name' in path.node.id && isUpperCase(path.node.id.name) &&

Callers

nothing calls this directly

Calls 2

isUpperCaseFunction · 0.85
addLocationToBodyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…