Home / Function/ slot_attribute_duplicate() — svelte Function Reference

slot_attribute_duplicate() — svelte Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  c01687aa_76eb_156a_a60e_1d0b0148559a["slot_attribute_duplicate()"]
  495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"]
  c01687aa_76eb_156a_a60e_1d0b0148559a -->|defined in| 495501a4_a342_6a4d_ac11_e3e2fee8b218
  c3969ef3_0f9b_1699_e3b6_75b4a9916c7d["validate_slot_attribute()"]
  c3969ef3_0f9b_1699_e3b6_75b4a9916c7d -->|calls| c01687aa_76eb_156a_a60e_1d0b0148559a
  style c01687aa_76eb_156a_a60e_1d0b0148559a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/errors.js lines 1290–1292

export function slot_attribute_duplicate(node, name, component) {
	e(node, 'slot_attribute_duplicate', `Duplicate slot name '${name}' in <${component}>\nhttps://svelte.dev/e/slot_attribute_duplicate`);
}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free