block_empty() — svelte Function Reference
Architecture documentation for the block_empty() function in warnings.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 4e5dd546_257b_5a25_b178_e3f28f8a0b63["block_empty()"] 56a689f9_11c0_cc76_bd60_41bb6dc96475["warnings.js"] 4e5dd546_257b_5a25_b178_e3f28f8a0b63 -->|defined in| 56a689f9_11c0_cc76_bd60_41bb6dc96475 ea08cb05_2664_4e93_7551_6103e0cb3a87["validate_block_not_empty()"] ea08cb05_2664_4e93_7551_6103e0cb3a87 -->|calls| 4e5dd546_257b_5a25_b178_e3f28f8a0b63 style 4e5dd546_257b_5a25_b178_e3f28f8a0b63 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/warnings.js lines 747–749
export function block_empty(node) {
w(node, 'block_empty', `Empty block\nhttps://svelte.dev/e/block_empty`);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does block_empty() do?
block_empty() is a function in the svelte codebase, defined in packages/svelte/src/compiler/warnings.js.
Where is block_empty() defined?
block_empty() is defined in packages/svelte/src/compiler/warnings.js at line 747.
What calls block_empty()?
block_empty() is called by 1 function(s): validate_block_not_empty.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free