Home / File/ FunctionDeclaration.js — svelte Source File

FunctionDeclaration.js — svelte Source File

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

File javascript Compiler Transformer 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  1b27b4f6_6e41_be05_1a6e_40d341bb8a50["FunctionDeclaration.js"]
  7665e008_f37d_b860_a594_f2539a66af4e["transform-client.js"]
  7665e008_f37d_b860_a594_f2539a66af4e --> 1b27b4f6_6e41_be05_1a6e_40d341bb8a50
  style 1b27b4f6_6e41_be05_1a6e_40d341bb8a50 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/** @import { FunctionDeclaration } from 'estree' */
/** @import { ComponentContext } from '../types' */

/**
 * @param {FunctionDeclaration} node
 * @param {ComponentContext} context
 */
export function FunctionDeclaration(node, context) {
	const state = { ...context.state, in_constructor: false, in_derived: false };

	context.next(state);
}

Domain

Subdomains

Frequently Asked Questions

What does FunctionDeclaration.js do?
FunctionDeclaration.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 FunctionDeclaration.js?
FunctionDeclaration.js defines 1 function(s): FunctionDeclaration.
What files import FunctionDeclaration.js?
FunctionDeclaration.js is imported by 1 file(s): transform-client.js.
Where is FunctionDeclaration.js in the architecture?
FunctionDeclaration.js is located at packages/svelte/src/compiler/phases/3-transform/client/visitors/FunctionDeclaration.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