Home / Function/ attribute_illegal_colon() — svelte Function Reference

attribute_illegal_colon() — svelte Function Reference

Architecture documentation for the attribute_illegal_colon() function in warnings.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  c631f093_07cf_ae1b_c24c_3f8c21352845["attribute_illegal_colon()"]
  56a689f9_11c0_cc76_bd60_41bb6dc96475["warnings.js"]
  c631f093_07cf_ae1b_c24c_3f8c21352845 -->|defined in| 56a689f9_11c0_cc76_bd60_41bb6dc96475
  cea20d98_b8d1_aa5c_5f46_4ac417b7053c["validate_attribute_name()"]
  cea20d98_b8d1_aa5c_5f46_4ac417b7053c -->|calls| c631f093_07cf_ae1b_c24c_3f8c21352845
  style c631f093_07cf_ae1b_c24c_3f8c21352845 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/warnings.js lines 712–714

export function attribute_illegal_colon(node) {
	w(node, 'attribute_illegal_colon', `Attributes should not contain ':' characters to prevent ambiguity with Svelte directives\nhttps://svelte.dev/e/attribute_illegal_colon`);
}

Domain

Subdomains

Frequently Asked Questions

What does attribute_illegal_colon() do?
attribute_illegal_colon() is a function in the svelte codebase, defined in packages/svelte/src/compiler/warnings.js.
Where is attribute_illegal_colon() defined?
attribute_illegal_colon() is defined in packages/svelte/src/compiler/warnings.js at line 712.
What calls attribute_illegal_colon()?
attribute_illegal_colon() is called by 1 function(s): validate_attribute_name.

Analyze Your Own Codebase

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

Try Supermodel Free