Home / Type/ TransformState Type — svelte Architecture

TransformState Type — svelte Architecture

Architecture documentation for the TransformState type/interface in types.d.ts from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  c19ff8b7_5b84_03cb_7884_66a747fdebf6["TransformState"]
  8e1dc055_6d14_d1e8_b7c3_0a10df19e0cd["types.d.ts"]
  c19ff8b7_5b84_03cb_7884_66a747fdebf6 -->|defined in| 8e1dc055_6d14_d1e8_b7c3_0a10df19e0cd
  style c19ff8b7_5b84_03cb_7884_66a747fdebf6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/phases/3-transform/types.d.ts lines 5–15

export interface TransformState {
	readonly analysis: Analysis;
	readonly options: ValidatedModuleCompileOptions;
	readonly scope: Scope;
	readonly scopes: Map<AST.SvelteNode, Scope>;

	/** `true` if we're transforming the contents of `<script>` */
	readonly is_instance: boolean;

	readonly state_fields: Map<string, StateField>;
}

Frequently Asked Questions

What is the TransformState type?
TransformState is a type/interface in the svelte codebase, defined in packages/svelte/src/compiler/phases/3-transform/types.d.ts.
Where is TransformState defined?
TransformState is defined in packages/svelte/src/compiler/phases/3-transform/types.d.ts at line 5.

Analyze Your Own Codebase

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

Try Supermodel Free