Home / Function/ css_global_invalid_placement() — svelte Function Reference

css_global_invalid_placement() — svelte Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  e99d98d7_9bb9_4a9c_ddd1_924ec53748de["css_global_invalid_placement()"]
  495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"]
  e99d98d7_9bb9_4a9c_ddd1_924ec53748de -->|defined in| 495501a4_a342_6a4d_ac11_e3e2fee8b218
  55b36178_0781_8a80_d86c_236d22b0d74f["css_visitors.ComplexSelector()"]
  55b36178_0781_8a80_d86c_236d22b0d74f -->|calls| e99d98d7_9bb9_4a9c_ddd1_924ec53748de
  style e99d98d7_9bb9_4a9c_ddd1_924ec53748de fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/errors.js lines 647–649

export function css_global_invalid_placement(node) {
	e(node, 'css_global_invalid_placement', `\`:global(...)\` can be at the start or end of a selector sequence, but not in the middle\nhttps://svelte.dev/e/css_global_invalid_placement`);
}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free