illegal_await_expression() — svelte Function Reference
Architecture documentation for the illegal_await_expression() function in errors.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD aa769600_c21b_194d_33d7_2b383a2d94a6["illegal_await_expression()"] 495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"] aa769600_c21b_194d_33d7_2b383a2d94a6 -->|defined in| 495501a4_a342_6a4d_ac11_e3e2fee8b218 c83b4a86_14de_4a74_3024_16d8a4227ae4["AnimateDirective()"] c83b4a86_14de_4a74_3024_16d8a4227ae4 -->|calls| aa769600_c21b_194d_33d7_2b383a2d94a6 b398e50a_65cf_c90e_b4a6_78138497f759["AttachTag()"] b398e50a_65cf_c90e_b4a6_78138497f759 -->|calls| aa769600_c21b_194d_33d7_2b383a2d94a6 4931635c_2415_3c69_a7a7_e98ad2cfd475["BindDirective()"] 4931635c_2415_3c69_a7a7_e98ad2cfd475 -->|calls| aa769600_c21b_194d_33d7_2b383a2d94a6 d82cca08_0dd9_8726_2c14_d08de0583c8c["TransitionDirective()"] d82cca08_0dd9_8726_2c14_d08de0583c8c -->|calls| aa769600_c21b_194d_33d7_2b383a2d94a6 77d1bfda_e49c_889a_538a_cb2d04c10262["UseDirective()"] 77d1bfda_e49c_889a_538a_cb2d04c10262 -->|calls| aa769600_c21b_194d_33d7_2b383a2d94a6 style aa769600_c21b_194d_33d7_2b383a2d94a6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/errors.js lines 1165–1167
export function illegal_await_expression(node) {
e(node, 'illegal_await_expression', `\`use:\`, \`transition:\` and \`animate:\` directives, attachments and bindings do not support await expressions\nhttps://svelte.dev/e/illegal_await_expression`);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does illegal_await_expression() do?
illegal_await_expression() is a function in the svelte codebase, defined in packages/svelte/src/compiler/errors.js.
Where is illegal_await_expression() defined?
illegal_await_expression() is defined in packages/svelte/src/compiler/errors.js at line 1165.
What calls illegal_await_expression()?
illegal_await_expression() is called by 5 function(s): AnimateDirective, AttachTag, BindDirective, TransitionDirective, UseDirective.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free