makeIdentifierId() — react Function Reference
Architecture documentation for the makeIdentifierId() function in HIR.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 7acba8cd_83f0_fe9c_342c_9cd4f8c74673["makeIdentifierId()"] 18a78965_f593_105b_e5e8_07001321c2ec["HIR.ts"] 7acba8cd_83f0_fe9c_342c_9cd4f8c74673 -->|defined in| 18a78965_f593_105b_e5e8_07001321c2ec 4c5901ab_3021_6976_bae2_bbcfa9ceacfc["nextIdentifierId()"] 4c5901ab_3021_6976_bae2_bbcfa9ceacfc -->|calls| 7acba8cd_83f0_fe9c_342c_9cd4f8c74673 cf7ad9bc_bfc5_bfed_c15e_762d1f3aa262["signatureArgument()"] cf7ad9bc_bfc5_bfed_c15e_762d1f3aa262 -->|calls| 7acba8cd_83f0_fe9c_342c_9cd4f8c74673 041ca752_10c1_3cda_1f5c_02f44a01310e["invariant()"] 7acba8cd_83f0_fe9c_342c_9cd4f8c74673 -->|calls| 041ca752_10c1_3cda_1f5c_02f44a01310e style 7acba8cd_83f0_fe9c_342c_9cd4f8c74673 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts lines 1745–1751
export function makeIdentifierId(id: number): IdentifierId {
CompilerError.invariant(id >= 0 && Number.isInteger(id), {
reason: 'Expected identifier id to be a non-negative integer',
loc: GeneratedSource,
});
return id as IdentifierId;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does makeIdentifierId() do?
makeIdentifierId() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts.
Where is makeIdentifierId() defined?
makeIdentifierId() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts at line 1745.
What does makeIdentifierId() call?
makeIdentifierId() calls 1 function(s): invariant.
What calls makeIdentifierId()?
makeIdentifierId() is called by 2 function(s): nextIdentifierId, signatureArgument.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free