Home / Function/ block_unexpected_character() — svelte Function Reference

block_unexpected_character() — svelte Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  433ea7d7_7b51_9dd7_908c_e2d48152abe1["block_unexpected_character()"]
  495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"]
  433ea7d7_7b51_9dd7_908c_e2d48152abe1 -->|defined in| 495501a4_a342_6a4d_ac11_e3e2fee8b218
  40a9868f_fb12_2d7c_aa35_be01988cecf1["AwaitBlock()"]
  40a9868f_fb12_2d7c_aa35_be01988cecf1 -->|calls| 433ea7d7_7b51_9dd7_908c_e2d48152abe1
  7148e639_69d8_a03d_3f08_bd23f41e718a["validate_opening_tag()"]
  7148e639_69d8_a03d_3f08_bd23f41e718a -->|calls| 433ea7d7_7b51_9dd7_908c_e2d48152abe1
  style 433ea7d7_7b51_9dd7_908c_e2d48152abe1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/errors.js lines 938–940

export function block_unexpected_character(node, character) {
	e(node, 'block_unexpected_character', `Expected a \`${character}\` character immediately following the opening bracket\nhttps://svelte.dev/e/block_unexpected_character`);
}

Domain

Subdomains

Frequently Asked Questions

What does block_unexpected_character() do?
block_unexpected_character() is a function in the svelte codebase, defined in packages/svelte/src/compiler/errors.js.
Where is block_unexpected_character() defined?
block_unexpected_character() is defined in packages/svelte/src/compiler/errors.js at line 938.
What calls block_unexpected_character()?
block_unexpected_character() is called by 2 function(s): AwaitBlock, validate_opening_tag.

Analyze Your Own Codebase

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

Try Supermodel Free