css.d.ts — svelte Source File
Architecture documentation for css.d.ts, a typescript file in the svelte codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 6b382501_998d_1217_bfb9_62f4a8927d58["css.d.ts"] c696582a_9f3f_d301_2824_cb3de66aa770["#compiler"] 6b382501_998d_1217_bfb9_62f4a8927d58 --> c696582a_9f3f_d301_2824_cb3de66aa770 style 6b382501_998d_1217_bfb9_62f4a8927d58 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import type { AST } from '#compiler';
export namespace _CSS {
export interface BaseNode {
start: number;
end: number;
}
export interface StyleSheet extends BaseNode {
type: 'StyleSheet';
attributes: any[]; // TODO
children: Array<Atrule | Rule>;
content: {
start: number;
end: number;
styles: string;
/** Possible comment atop the style tag */
comment: AST.Comment | null;
};
}
export interface Atrule extends BaseNode {
type: 'Atrule';
name: string;
prelude: string;
block: Block | null;
}
export interface Rule extends BaseNode {
type: 'Rule';
prelude: SelectorList;
block: Block;
/** @internal */
metadata: {
parent_rule: null | Rule;
has_local_selectors: boolean;
/**
* `true` if the rule contains a ComplexSelector whose RelativeSelectors are all global or global-like
*/
has_global_selectors: boolean;
/**
* `true` if the rule contains a `:global` selector, and therefore everything inside should be unscoped
*/
is_global_block: boolean;
};
}
/**
* A list of selectors, e.g. `a, b, c {}`
*/
export interface SelectorList extends BaseNode {
type: 'SelectorList';
/**
* The `a`, `b` and `c` in `a, b, c {}`
*/
children: ComplexSelector[];
}
/**
* A complex selector, e.g. `a b c {}`
// ... (134 more lines)
Types
Dependencies
- #compiler
Source
Frequently Asked Questions
What does css.d.ts do?
css.d.ts is a source file in the svelte codebase, written in typescript.
What does css.d.ts depend on?
css.d.ts imports 1 module(s): #compiler.
Where is css.d.ts in the architecture?
css.d.ts is located at packages/svelte/src/compiler/types/css.d.ts (directory: packages/svelte/src/compiler/types).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free