MCPcopy Create free account
hub / github.com/thx/gogocode / Program

Function Program

example/demo-with-babel-plugin/plugin.js:7–9  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

5 name: 'transform-var-to-let',
6 visitor: {
7 Program(path) {
8 $(path.node).replace('var $_$1 = $_$2;', 'let $_$1 = $_$2;')
9 }
10 }
11 }
12}

Callers

nothing calls this directly

Calls 2

$Interface · 0.85
replaceMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…