Home / Function/ state_field_duplicate() — svelte Function Reference

state_field_duplicate() — svelte Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d0439414_5a58_b32e_0bc8_f7b2ab0181fc["state_field_duplicate()"]
  495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"]
  d0439414_5a58_b32e_0bc8_f7b2ab0181fc -->|defined in| 495501a4_a342_6a4d_ac11_e3e2fee8b218
  0dab1d36_2fa3_6bd6_6043_59c1aed4bccf["ClassBody()"]
  0dab1d36_2fa3_6bd6_6043_59c1aed4bccf -->|calls| d0439414_5a58_b32e_0bc8_f7b2ab0181fc
  style d0439414_5a58_b32e_0bc8_f7b2ab0181fc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/errors.js lines 500–502

export function state_field_duplicate(node, name) {
	e(node, 'state_field_duplicate', `\`${name}\` has already been declared on this class\nhttps://svelte.dev/e/state_field_duplicate`);
}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free