ExportNamedDeclaration.js — svelte Source File
Architecture documentation for ExportNamedDeclaration.js, a javascript file in the svelte codebase. 1 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR a86bdec0_3990_e8a6_4b41_577ad69909c3["ExportNamedDeclaration.js"] 95c28355_f14c_c3cd_5a03_d5a53ca255bc["builders"] a86bdec0_3990_e8a6_4b41_577ad69909c3 --> 95c28355_f14c_c3cd_5a03_d5a53ca255bc 7665e008_f37d_b860_a594_f2539a66af4e["transform-client.js"] 7665e008_f37d_b860_a594_f2539a66af4e --> a86bdec0_3990_e8a6_4b41_577ad69909c3 style a86bdec0_3990_e8a6_4b41_577ad69909c3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/** @import { ExportNamedDeclaration } from 'estree' */
/** @import { ComponentContext } from '../types' */
import * as b from '#compiler/builders';
/**
* @param {ExportNamedDeclaration} node
* @param {ComponentContext} context
*/
export function ExportNamedDeclaration(node, context) {
if (context.state.is_instance) {
if (node.declaration) {
return context.visit(node.declaration);
}
return b.empty;
}
return context.next();
}
Domain
Subdomains
Functions
Dependencies
- builders
Source
Frequently Asked Questions
What does ExportNamedDeclaration.js do?
ExportNamedDeclaration.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 ExportNamedDeclaration.js?
ExportNamedDeclaration.js defines 1 function(s): ExportNamedDeclaration.
What does ExportNamedDeclaration.js depend on?
ExportNamedDeclaration.js imports 1 module(s): builders.
What files import ExportNamedDeclaration.js?
ExportNamedDeclaration.js is imported by 1 file(s): transform-client.js.
Where is ExportNamedDeclaration.js in the architecture?
ExportNamedDeclaration.js is located at packages/svelte/src/compiler/phases/3-transform/client/visitors/ExportNamedDeclaration.js (domain: Compiler, subdomain: Transformer, 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