Home / Function/ emitLoadLoweredContextCallee() — react Function Reference

emitLoadLoweredContextCallee() — react Function Reference

Architecture documentation for the emitLoadLoweredContextCallee() function in LowerContextAccess.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  39b89946_330a_d058_a291_b850d7d6fc5f["emitLoadLoweredContextCallee()"]
  ed770299_f9db_61d4_407c_b8ead52e24ec["LowerContextAccess.ts"]
  39b89946_330a_d058_a291_b850d7d6fc5f -->|defined in| ed770299_f9db_61d4_407c_b8ead52e24ec
  d3225c91_4858_fca4_72c5_c74a4f05f299["lowerContextAccess()"]
  d3225c91_4858_fca4_72c5_c74a4f05f299 -->|calls| 39b89946_330a_d058_a291_b850d7d6fc5f
  49446ae1_b830_9411_8258_1139d21b314b["createTemporaryPlace()"]
  39b89946_330a_d058_a291_b850d7d6fc5f -->|calls| 49446ae1_b830_9411_8258_1139d21b314b
  style 39b89946_330a_d058_a291_b850d7d6fc5f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/Optimization/LowerContextAccess.ts lines 134–151

function emitLoadLoweredContextCallee(
  env: Environment,
  importedLowerContextCallee: NonLocalImportSpecifier,
): Instruction {
  const loadGlobal: LoadGlobal = {
    kind: 'LoadGlobal',
    binding: {...importedLowerContextCallee},
    loc: GeneratedSource,
  };

  return {
    id: makeInstructionId(0),
    loc: GeneratedSource,
    lvalue: createTemporaryPlace(env, GeneratedSource),
    effects: null,
    value: loadGlobal,
  };
}

Domain

Subdomains

Frequently Asked Questions

What does emitLoadLoweredContextCallee() do?
emitLoadLoweredContextCallee() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Optimization/LowerContextAccess.ts.
Where is emitLoadLoweredContextCallee() defined?
emitLoadLoweredContextCallee() is defined in compiler/packages/babel-plugin-react-compiler/src/Optimization/LowerContextAccess.ts at line 134.
What does emitLoadLoweredContextCallee() call?
emitLoadLoweredContextCallee() calls 1 function(s): createTemporaryPlace.
What calls emitLoadLoweredContextCallee()?
emitLoadLoweredContextCallee() is called by 1 function(s): lowerContextAccess.

Analyze Your Own Codebase

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

Try Supermodel Free