Home / Function/ traversePrunedScope() — react Function Reference

traversePrunedScope() — react Function Reference

Architecture documentation for the traversePrunedScope() function in visitors.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  f6f32b32_15a4_3c64_5848_4543d4791d32["traversePrunedScope()"]
  78c3f81d_5ec3_1cfd_76fe_94c51335da65["ReactiveFunctionVisitor"]
  f6f32b32_15a4_3c64_5848_4543d4791d32 -->|defined in| 78c3f81d_5ec3_1cfd_76fe_94c51335da65
  9ac1e8d8_89ca_1557_ab59_c6c4c327e99b["visitPrunedScope()"]
  9ac1e8d8_89ca_1557_ab59_c6c4c327e99b -->|calls| f6f32b32_15a4_3c64_5848_4543d4791d32
  1cd19851_ad8b_048b_7409_c779a5ec5738["visitPrunedScope()"]
  1cd19851_ad8b_048b_7409_c779a5ec5738 -->|calls| f6f32b32_15a4_3c64_5848_4543d4791d32
  5b656486_fed3_ad83_77fe_1ff365b98ea7["visitPrunedScope()"]
  5b656486_fed3_ad83_77fe_1ff365b98ea7 -->|calls| f6f32b32_15a4_3c64_5848_4543d4791d32
  d6fc2aae_d117_f4a7_6693_a36c1926c9e7["visitPrunedScope()"]
  d6fc2aae_d117_f4a7_6693_a36c1926c9e7 -->|calls| f6f32b32_15a4_3c64_5848_4543d4791d32
  7407a654_96a6_3be0_caee_2d3a63abc527["visitPrunedScope()"]
  7407a654_96a6_3be0_caee_2d3a63abc527 -->|calls| f6f32b32_15a4_3c64_5848_4543d4791d32
  f9d30dbb_5713_c899_846c_9ff264037b92["visitPrunedScope()"]
  f9d30dbb_5713_c899_846c_9ff264037b92 -->|calls| f6f32b32_15a4_3c64_5848_4543d4791d32
  f99db478_1015_8147_15db_df1530e07c0f["visitBlock()"]
  f6f32b32_15a4_3c64_5848_4543d4791d32 -->|calls| f99db478_1015_8147_15db_df1530e07c0f
  style f6f32b32_15a4_3c64_5848_4543d4791d32 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/visitors.ts lines 194–199

  traversePrunedScope(
    scopeBlock: PrunedReactiveScopeBlock,
    state: TState,
  ): void {
    this.visitBlock(scopeBlock.instructions, state);
  }

Calls

Frequently Asked Questions

What does traversePrunedScope() do?
traversePrunedScope() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/visitors.ts.
Where is traversePrunedScope() defined?
traversePrunedScope() is defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/visitors.ts at line 194.
What does traversePrunedScope() call?
traversePrunedScope() calls 1 function(s): visitBlock.
What calls traversePrunedScope()?
traversePrunedScope() is called by 6 function(s): visitPrunedScope, visitPrunedScope, visitPrunedScope, visitPrunedScope, visitPrunedScope, visitPrunedScope.

Analyze Your Own Codebase

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

Try Supermodel Free