AttachTag.js — svelte Source File
Architecture documentation for AttachTag.js, a javascript file in the svelte codebase. 4 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR d8d7142f_9b03_9f6b_6c45_52a298690d08["AttachTag.js"] c4b4ac8d_9914_5ede_1aea_723bf80d2e9b["fragment.js"] d8d7142f_9b03_9f6b_6c45_52a298690d08 --> c4b4ac8d_9914_5ede_1aea_723bf80d2e9b 313d2a82_30ea_3161_3aad_0cc2094979aa["mark_subtree_dynamic"] d8d7142f_9b03_9f6b_6c45_52a298690d08 --> 313d2a82_30ea_3161_3aad_0cc2094979aa 495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"] d8d7142f_9b03_9f6b_6c45_52a298690d08 --> 495501a4_a342_6a4d_ac11_e3e2fee8b218 a146f6ac_0088_8736_b6ce_318f9f115170["e"] d8d7142f_9b03_9f6b_6c45_52a298690d08 --> a146f6ac_0088_8736_b6ce_318f9f115170 4aa8a188_84d4_0274_ed83_cac0ab1d3572["index.js"] 4aa8a188_84d4_0274_ed83_cac0ab1d3572 --> d8d7142f_9b03_9f6b_6c45_52a298690d08 style d8d7142f_9b03_9f6b_6c45_52a298690d08 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/** @import { AST } from '#compiler' */
/** @import { Context } from '../types' */
import { mark_subtree_dynamic } from './shared/fragment.js';
import * as e from '../../../errors.js';
/**
* @param {AST.AttachTag} node
* @param {Context} context
*/
export function AttachTag(node, context) {
mark_subtree_dynamic(context.path);
context.next({ ...context.state, expression: node.metadata.expression });
if (node.metadata.expression.has_await) {
e.illegal_await_expression(node);
}
}
Domain
Subdomains
Functions
Dependencies
Source
Frequently Asked Questions
What does AttachTag.js do?
AttachTag.js is a source file in the svelte codebase, written in javascript. It belongs to the Compiler domain, Transformer subdomain.
What functions are defined in AttachTag.js?
AttachTag.js defines 1 function(s): AttachTag.
What does AttachTag.js depend on?
AttachTag.js imports 4 module(s): e, errors.js, fragment.js, mark_subtree_dynamic.
What files import AttachTag.js?
AttachTag.js is imported by 1 file(s): index.js.
Where is AttachTag.js in the architecture?
AttachTag.js is located at packages/svelte/src/compiler/phases/2-analyze/visitors/AttachTag.js (domain: Compiler, subdomain: Transformer, directory: packages/svelte/src/compiler/phases/2-analyze/visitors).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free