MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / param-default-calls.test.ts

File param-default-calls.test.ts

__tests__/param-default-calls.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * A parameter's default value is code its function runs, each time a call
3 * leaves that argument out: `function render(note = buildNote())` calls
4 * buildNote as surely as `const note = buildNote()` in its body would. The

Callers

nothing calls this directly

Calls 13

initGrammarsFunction · 0.90
loadGrammarsForLanguagesFunction · 0.90
resetKernelForTestsFunction · 0.90
describeFunction · 0.85
mapMethod · 0.80
callsOfFunction · 0.70
extractFunction · 0.70
eolFunction · 0.70
canonFunction · 0.70
callersFunction · 0.70
closeMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected