expandFbtScopeRange() — react Function Reference
Architecture documentation for the expandFbtScopeRange() function in MemoizeFbtAndMacroOperandsInSameScope.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD ccad5c6d_a5e9_e31e_85ed_401010b8538e["expandFbtScopeRange()"] fb4e4a7f_2a4f_a45a_81e6_48b5748e5365["MemoizeFbtAndMacroOperandsInSameScope.ts"] ccad5c6d_a5e9_e31e_85ed_401010b8538e -->|defined in| fb4e4a7f_2a4f_a45a_81e6_48b5748e5365 b0ed4f5a_2555_809c_2cff_f361912c64fa["mergeMacroArguments()"] b0ed4f5a_2555_809c_2cff_f361912c64fa -->|calls| ccad5c6d_a5e9_e31e_85ed_401010b8538e 9ec88100_5ac2_cfe7_e45a_4a85373411bd["visitOperands()"] 9ec88100_5ac2_cfe7_e45a_4a85373411bd -->|calls| ccad5c6d_a5e9_e31e_85ed_401010b8538e style ccad5c6d_a5e9_e31e_85ed_401010b8538e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/MemoizeFbtAndMacroOperandsInSameScope.ts lines 276–285
function expandFbtScopeRange(
fbtRange: MutableRange,
extendWith: MutableRange,
): void {
if (extendWith.start !== 0) {
fbtRange.start = makeInstructionId(
Math.min(fbtRange.start, extendWith.start),
);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does expandFbtScopeRange() do?
expandFbtScopeRange() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/MemoizeFbtAndMacroOperandsInSameScope.ts.
Where is expandFbtScopeRange() defined?
expandFbtScopeRange() is defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/MemoizeFbtAndMacroOperandsInSameScope.ts at line 276.
What calls expandFbtScopeRange()?
expandFbtScopeRange() is called by 2 function(s): mergeMacroArguments, visitOperands.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free