recursiveRun() — drizzle-orm Function Reference
Architecture documentation for the recursiveRun() function in analyze.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 45b0952c_c81f_bec9_b69d_f288caf062d1["recursiveRun()"] 8bf87654_6856_e67c_24ad_740dca24cecc["analyze.ts"] 45b0952c_c81f_bec9_b69d_f288caf062d1 -->|defined in| 8bf87654_6856_e67c_24ad_740dca24cecc bfd71d94_1090_df2c_a920_1101183e75fb["init()"] bfd71d94_1090_df2c_a920_1101183e75fb -->|calls| 45b0952c_c81f_bec9_b69d_f288caf062d1 style 45b0952c_c81f_bec9_b69d_f288caf062d1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-kit/imports-checker/analyze.ts lines 10–37
function recursiveRun(...args: Node[]): boolean {
for (const arg of args) {
if (
arg.ctorName === 'Rest'
|| arg.ctorName === 'comment'
|| arg.ctorName === 'stringLiteral'
) {
continue;
}
if (
arg.ctorName === 'ImportExpr_From'
|| arg.ctorName === 'ImportExpr_NoFrom'
) {
arg['analyze']();
continue;
}
if (arg.isTerminal()) continue;
for (const c of arg.children) {
if (!recursiveRun(c)) return false;
}
}
return true;
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does recursiveRun() do?
recursiveRun() is a function in the drizzle-orm codebase, defined in drizzle-kit/imports-checker/analyze.ts.
Where is recursiveRun() defined?
recursiveRun() is defined in drizzle-kit/imports-checker/analyze.ts at line 10.
What calls recursiveRun()?
recursiveRun() is called by 1 function(s): init.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free