Home / File/ SvelteComponent.js — svelte Source File

SvelteComponent.js — svelte Source File

Architecture documentation for SvelteComponent.js, a javascript file in the svelte codebase. 3 imports, 1 dependents.

File javascript Compiler Migrator 3 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  6d78eaec_3673_3f25_9b53_50ee2083da51["SvelteComponent.js"]
  bd45d698_c4dc_74a5_a443_a53e6a09ee01["component.js"]
  6d78eaec_3673_3f25_9b53_50ee2083da51 --> bd45d698_c4dc_74a5_a443_a53e6a09ee01
  26dd1111_1f72_f8a8_c043_a8daf130f4bb["build_component"]
  6d78eaec_3673_3f25_9b53_50ee2083da51 --> 26dd1111_1f72_f8a8_c043_a8daf130f4bb
  2a80f2d4_d197_7cc0_549a_c242d389adf6["builders"]
  6d78eaec_3673_3f25_9b53_50ee2083da51 --> 2a80f2d4_d197_7cc0_549a_c242d389adf6
  8a7c8956_f4ea_f438_b7e0_5f4991eb89e7["transform-client.js"]
  8a7c8956_f4ea_f438_b7e0_5f4991eb89e7 --> 6d78eaec_3673_3f25_9b53_50ee2083da51
  style 6d78eaec_3673_3f25_9b53_50ee2083da51 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/** @import { AST } from '#compiler' */
/** @import { ComponentContext } from '../types' */
import { build_component } from './shared/component.js';
import * as b from '#compiler/builders';

/**
 * @param {AST.SvelteComponent} node
 * @param {ComponentContext} context
 */
export function SvelteComponent(node, context) {
	const component = build_component(node, '$$component', null, context);
	context.state.init.push(component);
}

Domain

Subdomains

Functions

Dependencies

Frequently Asked Questions

What does SvelteComponent.js do?
SvelteComponent.js is a source file in the svelte codebase, written in javascript. It belongs to the Compiler domain, Migrator subdomain.
What functions are defined in SvelteComponent.js?
SvelteComponent.js defines 1 function(s): SvelteComponent.
What does SvelteComponent.js depend on?
SvelteComponent.js imports 3 module(s): build_component, builders, component.js.
What files import SvelteComponent.js?
SvelteComponent.js is imported by 1 file(s): transform-client.js.
Where is SvelteComponent.js in the architecture?
SvelteComponent.js is located at packages/svelte/src/compiler/phases/3-transform/client/visitors/SvelteComponent.js (domain: Compiler, subdomain: Migrator, directory: packages/svelte/src/compiler/phases/3-transform/client/visitors).

Analyze Your Own Codebase

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

Try Supermodel Free