Home / Function/ dollar_prefix_invalid() — svelte Function Reference

dollar_prefix_invalid() — svelte Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d0f2dc13_c362_52e6_cf77_bf4cfe44471d["dollar_prefix_invalid()"]
  495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"]
  d0f2dc13_c362_52e6_cf77_bf4cfe44471d -->|defined in| 495501a4_a342_6a4d_ac11_e3e2fee8b218
  962a9e38_f393_8bb8_8642_fd23c4e768e6["validate_identifier_name()"]
  962a9e38_f393_8bb8_8642_fd23c4e768e6 -->|calls| d0f2dc13_c362_52e6_cf77_bf4cfe44471d
  style d0f2dc13_c362_52e6_cf77_bf4cfe44471d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/errors.js lines 151–153

export function dollar_prefix_invalid(node) {
	e(node, 'dollar_prefix_invalid', `The $ prefix is reserved, and cannot be used for variables and imports\nhttps://svelte.dev/e/dollar_prefix_invalid`);
}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free