processStringLiterals() — ui Function Reference
Architecture documentation for the processStringLiterals() function in transform-cleanup.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 92337c41_d4af_7a39_2d78_06f4ca9b2100["processStringLiterals()"] e5d28271_9de7_c6c9_1240_13894663e9ec["transform-cleanup.ts"] 92337c41_d4af_7a39_2d78_06f4ca9b2100 -->|defined in| e5d28271_9de7_c6c9_1240_13894663e9ec 182b5198_cbf0_43bf_ab80_22341899f430["applyCleanup()"] 182b5198_cbf0_43bf_ab80_22341899f430 -->|calls| 92337c41_d4af_7a39_2d78_06f4ca9b2100 6bf4b1e9_4fda_58d0_5982_4738b771600c["processStringLiteral()"] 92337c41_d4af_7a39_2d78_06f4ca9b2100 -->|calls| 6bf4b1e9_4fda_58d0_5982_4738b771600c style 92337c41_d4af_7a39_2d78_06f4ca9b2100 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/shadcn/src/utils/transformers/transform-cleanup.ts lines 39–49
function processStringLiterals(node: Node) {
for (const stringLit of node.getDescendantsOfKind(SyntaxKind.StringLiteral)) {
processStringLiteral(stringLit)
}
for (const templateLit of node.getDescendantsOfKind(
SyntaxKind.NoSubstitutionTemplateLiteral
)) {
processStringLiteral(templateLit)
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does processStringLiterals() do?
processStringLiterals() is a function in the ui codebase, defined in packages/shadcn/src/utils/transformers/transform-cleanup.ts.
Where is processStringLiterals() defined?
processStringLiterals() is defined in packages/shadcn/src/utils/transformers/transform-cleanup.ts at line 39.
What does processStringLiterals() call?
processStringLiterals() calls 1 function(s): processStringLiteral.
What calls processStringLiterals()?
processStringLiterals() is called by 1 function(s): applyCleanup.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free