Home / Function/ visitPrunedScope() — react Function Reference

visitPrunedScope() — react Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6170a433_a27a_7455_6589_a23a789d4771["visitPrunedScope()"]
  171a5d22_bb6b_1c99_05a4_6ad897438a35["ReactiveFunctionVisitor"]
  6170a433_a27a_7455_6589_a23a789d4771 -->|defined in| 171a5d22_bb6b_1c99_05a4_6ad897438a35
  69733626_e3e0_3385_c1b9_4c1279a07d6f["visitPrunedScope()"]
  69733626_e3e0_3385_c1b9_4c1279a07d6f -->|calls| 6170a433_a27a_7455_6589_a23a789d4771
  a9c6b7d9_4ec5_27f1_c527_5516a037bb60["visitPrunedScope()"]
  a9c6b7d9_4ec5_27f1_c527_5516a037bb60 -->|calls| 6170a433_a27a_7455_6589_a23a789d4771
  a0d79c92_0677_bb82_4af7_c2bc582087a7["visitPrunedScope()"]
  a0d79c92_0677_bb82_4af7_c2bc582087a7 -->|calls| 6170a433_a27a_7455_6589_a23a789d4771
  c6838a07_559a_1310_1c4f_e78266267fb1["traverseBlock()"]
  c6838a07_559a_1310_1c4f_e78266267fb1 -->|calls| 6170a433_a27a_7455_6589_a23a789d4771
  8946cc05_a03c_56f3_cb49_bb83d2f49a8d["transformPrunedScope()"]
  8946cc05_a03c_56f3_cb49_bb83d2f49a8d -->|calls| 6170a433_a27a_7455_6589_a23a789d4771
  483921e6_5f43_cd9b_e1c3_c4e31c74fe85["visitPrunedScope()"]
  483921e6_5f43_cd9b_e1c3_c4e31c74fe85 -->|calls| 6170a433_a27a_7455_6589_a23a789d4771
  db29a3b5_069a_8469_4b85_393df6b436e5["visitPrunedScope()"]
  db29a3b5_069a_8469_4b85_393df6b436e5 -->|calls| 6170a433_a27a_7455_6589_a23a789d4771
  b0eda56d_bc25_e1f0_6478_37239f37dbc3["visitPrunedScope()"]
  b0eda56d_bc25_e1f0_6478_37239f37dbc3 -->|calls| 6170a433_a27a_7455_6589_a23a789d4771
  8834a4be_3fe5_9e26_47ef_edf1535bc455["visitPrunedScope()"]
  8834a4be_3fe5_9e26_47ef_edf1535bc455 -->|calls| 6170a433_a27a_7455_6589_a23a789d4771
  9e08bc54_4081_9437_d308_655eff9c1687["traversePrunedScope()"]
  6170a433_a27a_7455_6589_a23a789d4771 -->|calls| 9e08bc54_4081_9437_d308_655eff9c1687
  style 6170a433_a27a_7455_6589_a23a789d4771 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/visitors.ts lines 191–193

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free