transformScope() — react Function Reference
Architecture documentation for the transformScope() function in visitors.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD b639747b_32c3_a4bf_867f_dba5d3901073["transformScope()"] af3ace55_db6d_865e_92b9_81486f6af1e7["ReactiveFunctionTransform"] b639747b_32c3_a4bf_867f_dba5d3901073 -->|defined in| af3ace55_db6d_865e_92b9_81486f6af1e7 b2563d99_6456_0163_2dd9_9a9290ad87a8["transformScope()"] b2563d99_6456_0163_2dd9_9a9290ad87a8 -->|calls| b639747b_32c3_a4bf_867f_dba5d3901073 2be70513_8f10_6e51_ae23_94cfbef6ca0e["transformScope()"] 2be70513_8f10_6e51_ae23_94cfbef6ca0e -->|calls| b639747b_32c3_a4bf_867f_dba5d3901073 f6b0f572_362c_d22e_89ed_27e1eef4d74e["transformScope()"] f6b0f572_362c_d22e_89ed_27e1eef4d74e -->|calls| b639747b_32c3_a4bf_867f_dba5d3901073 4f7ad929_f19e_7d55_33f1_e3306e7e41bc["transformScope()"] 4f7ad929_f19e_7d55_33f1_e3306e7e41bc -->|calls| b639747b_32c3_a4bf_867f_dba5d3901073 a0320514_135c_2cd9_31b2_7e30472da86b["traverseBlock()"] a0320514_135c_2cd9_31b2_7e30472da86b -->|calls| b639747b_32c3_a4bf_867f_dba5d3901073 4acb57df_5348_9aab_9691_41cf35127db4["visitScope()"] b639747b_32c3_a4bf_867f_dba5d3901073 -->|calls| 4acb57df_5348_9aab_9691_41cf35127db4 style b639747b_32c3_a4bf_867f_dba5d3901073 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/visitors.ts lines 344–350
transformScope(
scope: ReactiveScopeBlock,
state: TState,
): Transformed<ReactiveStatement> {
this.visitScope(scope, state);
return {kind: 'keep'};
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does transformScope() do?
transformScope() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/visitors.ts.
Where is transformScope() defined?
transformScope() is defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/visitors.ts at line 344.
What does transformScope() call?
transformScope() calls 1 function(s): visitScope.
What calls transformScope()?
transformScope() is called by 5 function(s): transformScope, transformScope, transformScope, transformScope, traverseBlock.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free