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

Method has

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

Source from the content-addressed store, hash-verified

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 }
5610 };
5611 function extract_names(param) {
5612 return extract_identifiers(param).map((node2) => node2.name);

Callers 15

leaveFunction · 0.80
analyzeFunction · 0.80
find_ownerMethod · 0.80
deconflictFunction · 0.80
IdentifierFunction · 0.80
closing_tag_omittedFunction · 0.80
tagFunction · 0.80
read_tag_nameFunction · 0.80
check_uniqueFunction · 0.80
read_identifierMethod · 0.80
assign_variable_namesMethod · 0.80
add_variableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected