Home / File/ private.d.ts — svelte Source File

private.d.ts — svelte Source File

Architecture documentation for private.d.ts, a typescript file in the svelte codebase. 4 imports, 0 dependents.

File typescript Compiler Transformer 4 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  7c2d202c_a1cf_5f41_27b4_e23d2a4c21a4["private.d.ts"]
  d383a41d_5383_ee86_cab6_03bf1a2daf93["mapped_code.js"]
  7c2d202c_a1cf_5f41_27b4_e23d2a4c21a4 --> d383a41d_5383_ee86_cab6_03bf1a2daf93
  fd3be7c7_b876_965d_9025_a9b9bd4c6aaf["MappedCode"]
  7c2d202c_a1cf_5f41_27b4_e23d2a4c21a4 --> fd3be7c7_b876_965d_9025_a9b9bd4c6aaf
  117159f4_cbb2_daf5_f169_9ec9d696a13a["remapping"]
  7c2d202c_a1cf_5f41_27b4_e23d2a4c21a4 --> 117159f4_cbb2_daf5_f169_9ec9d696a13a
  5415ae33_acc7_39bf_2a56_bf3800623713["locate-character"]
  7c2d202c_a1cf_5f41_27b4_e23d2a4c21a4 --> 5415ae33_acc7_39bf_2a56_bf3800623713
  style 7c2d202c_a1cf_5f41_27b4_e23d2a4c21a4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { DecodedSourceMap } from '@jridgewell/remapping';
import { Location } from 'locate-character';
import { MappedCode } from '../utils/mapped_code.js';

export interface Source {
	source: string;
	get_location: (search: number) => Location;
	file_basename: string;
	filename?: string;
}

export interface SourceUpdate {
	string?: string;
	map?: DecodedSourceMap;
	dependencies?: string[];
}

export interface Replacement {
	offset: number;
	length: number;
	replacement: MappedCode;
}

Domain

Subdomains

Functions

Dependencies

Frequently Asked Questions

What does private.d.ts do?
private.d.ts is a source file in the svelte codebase, written in typescript. It belongs to the Compiler domain, Transformer subdomain.
What functions are defined in private.d.ts?
private.d.ts defines 1 function(s): Location.
What does private.d.ts depend on?
private.d.ts imports 4 module(s): MappedCode, locate-character, mapped_code.js, remapping.
Where is private.d.ts in the architecture?
private.d.ts is located at packages/svelte/src/compiler/preprocess/private.d.ts (domain: Compiler, subdomain: Transformer, directory: packages/svelte/src/compiler/preprocess).

Analyze Your Own Codebase

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

Try Supermodel Free