Home / Function/ getAllImportBindings() — vite Function Reference

getAllImportBindings() — vite Function Reference

Architecture documentation for the getAllImportBindings() function in rolldown.dts.config.ts from the vite codebase.

Function typescript HMRClient HotRuntime calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  c95eddef_3bfe_b2eb_a638_ac6578c67700["getAllImportBindings()"]
  c2239521_b59e_589c_03c3_99028d5442bd["rolldown.dts.config.ts"]
  c95eddef_3bfe_b2eb_a638_ac6578c67700 -->|defined in| c2239521_b59e_589c_03c3_99028d5442bd
  aabc1827_7354_5411_3a0d_63e4e16fd805["patchTypes()"]
  aabc1827_7354_5411_3a0d_63e4e16fd805 -->|calls| c95eddef_3bfe_b2eb_a638_ac6578c67700
  c42be05d_966b_a923_ad97_eca3f7685621["getImportBindings()"]
  c95eddef_3bfe_b2eb_a638_ac6578c67700 -->|calls| c42be05d_966b_a923_ad97_eca3f7685621
  style c95eddef_3bfe_b2eb_a638_ac6578c67700 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/rolldown.dts.config.ts lines 202–204

function getAllImportBindings(ast: Program): ImportBindings[] {
  return ast.body.flatMap((node) => getImportBindings(node) ?? [])
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does getAllImportBindings() do?
getAllImportBindings() is a function in the vite codebase, defined in packages/vite/rolldown.dts.config.ts.
Where is getAllImportBindings() defined?
getAllImportBindings() is defined in packages/vite/rolldown.dts.config.ts at line 202.
What does getAllImportBindings() call?
getAllImportBindings() calls 1 function(s): getImportBindings.
What calls getAllImportBindings()?
getAllImportBindings() is called by 1 function(s): patchTypes.

Analyze Your Own Codebase

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

Try Supermodel Free