Home / Function/ visitScope() — react Function Reference

visitScope() — react Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  4acb57df_5348_9aab_9691_41cf35127db4["visitScope()"]
  171a5d22_bb6b_1c99_05a4_6ad897438a35["ReactiveFunctionVisitor"]
  4acb57df_5348_9aab_9691_41cf35127db4 -->|defined in| 171a5d22_bb6b_1c99_05a4_6ad897438a35
  6bde27eb_b10a_161b_e61d_77c7196111ac["visitScope()"]
  6bde27eb_b10a_161b_e61d_77c7196111ac -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4
  efc55709_424e_1e0c_5f10_7e9c80368cf4["visitScope()"]
  efc55709_424e_1e0c_5f10_7e9c80368cf4 -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4
  b2563d99_6456_0163_2dd9_9a9290ad87a8["transformScope()"]
  b2563d99_6456_0163_2dd9_9a9290ad87a8 -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4
  2be70513_8f10_6e51_ae23_94cfbef6ca0e["transformScope()"]
  2be70513_8f10_6e51_ae23_94cfbef6ca0e -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4
  362d4dbc_afba_225c_96b2_ea1c61130620["visitScope()"]
  362d4dbc_afba_225c_96b2_ea1c61130620 -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4
  eb5a8bba_982f_3e93_34ad_57191041e6d7["visitScope()"]
  eb5a8bba_982f_3e93_34ad_57191041e6d7 -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4
  8964b840_74b5_2c96_c227_89dd281fdf38["visitScope()"]
  8964b840_74b5_2c96_c227_89dd281fdf38 -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4
  d775953f_f8c8_512f_135f_d3c1ff82f8bf["visitScope()"]
  d775953f_f8c8_512f_135f_d3c1ff82f8bf -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4
  4f7ad929_f19e_7d55_33f1_e3306e7e41bc["transformScope()"]
  4f7ad929_f19e_7d55_33f1_e3306e7e41bc -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4
  a3e340dd_fd2c_8bf8_f396_ba5c6082fee4["visitScope()"]
  a3e340dd_fd2c_8bf8_f396_ba5c6082fee4 -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4
  c6838a07_559a_1310_1c4f_e78266267fb1["traverseBlock()"]
  c6838a07_559a_1310_1c4f_e78266267fb1 -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4
  b639747b_32c3_a4bf_867f_dba5d3901073["transformScope()"]
  b639747b_32c3_a4bf_867f_dba5d3901073 -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4
  8e7603e1_e406_67bf_e050_540df344e5ff["visitScope()"]
  8e7603e1_e406_67bf_e050_540df344e5ff -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4
  style 4acb57df_5348_9aab_9691_41cf35127db4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/visitors.ts lines 184–186

  visitScope(scope: ReactiveScopeBlock, state: TState): void {
    this.traverseScope(scope, state);
  }

Domain

Subdomains

Frequently Asked Questions

What does visitScope() do?
visitScope() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/visitors.ts.
Where is visitScope() defined?
visitScope() is defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/visitors.ts at line 184.
What does visitScope() call?
visitScope() calls 1 function(s): traverseScope.
What calls visitScope()?
visitScope() is called by 18 function(s): transformScope, transformScope, transformScope, transformScope, traverseBlock, visitScope, visitScope, visitScope, and 10 more.

Analyze Your Own Codebase

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

Try Supermodel Free