MCPcopy
hub / github.com/sveltejs/svelte / get

Method get

packages/svelte/src/compiler/phases/scope.js:748–750  ·  view source on GitHub ↗

* @param {string} name * @returns {Binding | null}

(name)

Source from the content-addressed store, hash-verified

746 * @returns {Binding | null}
747 */
748 get(name) {
749 return this.declarations.get(name) ?? this.parent?.get(name) ?? null;
750 }
751
752 /**
753 * @param {VariableDeclarator | AST.LetDirective} node

Callers 15

create_scopesFunction · 0.95
wFunction · 0.45
is_ignoredFunction · 0.45
check_rune_bindingFunction · 0.45
migrateFunction · 0.45
ImportDeclarationFunction · 0.45
ExportNamedDeclarationFunction · 0.45
VariableDeclarationFunction · 0.45
LabeledStatementFunction · 0.45
SvelteComponentFunction · 0.45
handle_eventsFunction · 0.45
handle_identifierFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected