MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / sfc-component-owns-script.test.ts

File sfc-component-owns-script.test.ts

__tests__/sfc-component-owns-script.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * A Vue / Svelte / Astro file is one file node holding the component it is,
3 * and the component holds its script: each symbol has one parent, and a
4 * component never contains its own file. What a per-instance script does at

Callers

nothing calls this directly

Calls 9

initGrammarsFunction · 0.90
loadAllGrammarsFunction · 0.90
extractFromSourceFunction · 0.90
describeFunction · 0.85
parentsFunction · 0.85
mapMethod · 0.80
componentOfFunction · 0.70
fromFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected