Home / Function/ bindable_invalid_location() — svelte Function Reference

bindable_invalid_location() — svelte Function Reference

Architecture documentation for the bindable_invalid_location() function in errors.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  8089fa5c_6cd4_37a3_8db9_61d8c798db57["bindable_invalid_location()"]
  495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"]
  8089fa5c_6cd4_37a3_8db9_61d8c798db57 -->|defined in| 495501a4_a342_6a4d_ac11_e3e2fee8b218
  f847bd70_7e16_ed37_5fde_c34cd0ce1d43["CallExpression()"]
  f847bd70_7e16_ed37_5fde_c34cd0ce1d43 -->|calls| 8089fa5c_6cd4_37a3_8db9_61d8c798db57
  style 8089fa5c_6cd4_37a3_8db9_61d8c798db57 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/errors.js lines 85–87

export function bindable_invalid_location(node) {
	e(node, 'bindable_invalid_location', `\`$bindable()\` can only be used inside a \`$props()\` declaration\nhttps://svelte.dev/e/bindable_invalid_location`);
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does bindable_invalid_location() do?
bindable_invalid_location() is a function in the svelte codebase, defined in packages/svelte/src/compiler/errors.js.
Where is bindable_invalid_location() defined?
bindable_invalid_location() is defined in packages/svelte/src/compiler/errors.js at line 85.
What calls bindable_invalid_location()?
bindable_invalid_location() is called by 1 function(s): CallExpression.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free