Home / Function/ props_illegal_name() — svelte Function Reference

props_illegal_name() — svelte Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a3108763_2a7f_e4fb_4142_4698524040b1["props_illegal_name()"]
  495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"]
  a3108763_2a7f_e4fb_4142_4698524040b1 -->|defined in| 495501a4_a342_6a4d_ac11_e3e2fee8b218
  4123505d_2086_d0a0_2e0e_a28cc51de65e["MemberExpression()"]
  4123505d_2086_d0a0_2e0e_a28cc51de65e -->|calls| a3108763_2a7f_e4fb_4142_4698524040b1
  533f6c0a_5a99_4a6e_a54c_59fc0c845257["VariableDeclarator()"]
  533f6c0a_5a99_4a6e_a54c_59fc0c845257 -->|calls| a3108763_2a7f_e4fb_4142_4698524040b1
  style a3108763_2a7f_e4fb_4142_4698524040b1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/errors.js lines 335–337

export function props_illegal_name(node) {
	e(node, 'props_illegal_name', `Declaring or accessing a prop starting with \`$$\` is illegal (they are reserved for Svelte internals)\nhttps://svelte.dev/e/props_illegal_name`);
}

Domain

Subdomains

Frequently Asked Questions

What does props_illegal_name() do?
props_illegal_name() is a function in the svelte codebase, defined in packages/svelte/src/compiler/errors.js.
Where is props_illegal_name() defined?
props_illegal_name() is defined in packages/svelte/src/compiler/errors.js at line 335.
What calls props_illegal_name()?
props_illegal_name() is called by 2 function(s): MemberExpression, VariableDeclarator.

Analyze Your Own Codebase

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

Try Supermodel Free