LegacyComment Type — svelte Architecture
Architecture documentation for the LegacyComment type/interface in legacy-nodes.d.ts from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 3e9badd0_6845_da5b_a741_10cbcd217d7c["LegacyComment"] 854c5de9_40fd_5f74_af94_96d42b44a67d["legacy-nodes.d.ts"] 3e9badd0_6845_da5b_a741_10cbcd217d7c -->|defined in| 854c5de9_40fd_5f74_af94_96d42b44a67d style 3e9badd0_6845_da5b_a741_10cbcd217d7c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/types/legacy-nodes.d.ts lines 212–218
export interface LegacyComment extends BaseNode {
type: 'Comment';
/** the contents of the comment */
data: string;
/** any svelte-ignore directives — <!-- svelte-ignore a b c --> would result in ['a', 'b', 'c'] */
ignores: string[];
}
Source
Frequently Asked Questions
What is the LegacyComment type?
LegacyComment is a type/interface in the svelte codebase, defined in packages/svelte/src/compiler/types/legacy-nodes.d.ts.
Where is LegacyComment defined?
LegacyComment is defined in packages/svelte/src/compiler/types/legacy-nodes.d.ts at line 212.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free