MCPcopy
hub / github.com/livebud/bud / find_owner

Method find_owner

package/svelte/compiler.js:5602–5606  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

5600 }
5601 }
5602 find_owner(name) {
5603 if (this.declarations.has(name))
5604 return this;
5605 return this.parent && this.parent.find_owner(name);
5606 }
5607 has(name) {
5608 return this.declarations.has(name) || !!this.parent && this.parent.has(name);
5609 }

Callers 5

analyzeFunction · 0.80
IdentifierFunction · 0.80
invalidateFunction · 0.80
enterMethod · 0.80

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected