Component.js — svelte Source File
Architecture documentation for Component.js, a javascript file in the svelte codebase. 3 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 882c42d0_d6ba_d72f_9511_0a3b9b11a3be["Component.js"] 45451ab6_59fb_d444_3c97_cd74d7768f0c["component.js"] 882c42d0_d6ba_d72f_9511_0a3b9b11a3be --> 45451ab6_59fb_d444_3c97_cd74d7768f0c 1077eb85_3310_4a9b_f350_d205c6451bd2["build_inline_component"] 882c42d0_d6ba_d72f_9511_0a3b9b11a3be --> 1077eb85_3310_4a9b_f350_d205c6451bd2 95c28355_f14c_c3cd_5a03_d5a53ca255bc["builders"] 882c42d0_d6ba_d72f_9511_0a3b9b11a3be --> 95c28355_f14c_c3cd_5a03_d5a53ca255bc 86cf8685_38fa_3a1c_9b81_21c452968289["transform-server.js"] 86cf8685_38fa_3a1c_9b81_21c452968289 --> 882c42d0_d6ba_d72f_9511_0a3b9b11a3be style 882c42d0_d6ba_d72f_9511_0a3b9b11a3be fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/** @import { AST } from '#compiler' */
/** @import { ComponentContext } from '../types.js' */
import * as b from '#compiler/builders';
import { build_inline_component } from './shared/component.js';
/**
* @param {AST.Component} node
* @param {ComponentContext} context
*/
export function Component(node, context) {
build_inline_component(node, b.id(node.name), context);
}
Domain
Subdomains
Functions
Dependencies
Source
Frequently Asked Questions
What does Component.js do?
Component.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 Component.js?
Component.js defines 1 function(s): Component.
What does Component.js depend on?
Component.js imports 3 module(s): build_inline_component, builders, component.js.
What files import Component.js?
Component.js is imported by 1 file(s): transform-server.js.
Where is Component.js in the architecture?
Component.js is located at packages/svelte/src/compiler/phases/3-transform/server/visitors/Component.js (domain: Compiler, subdomain: Transformer, directory: packages/svelte/src/compiler/phases/3-transform/server/visitors).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free