printObjectPropertyKey() — react Function Reference
Architecture documentation for the printObjectPropertyKey() function in PrintHIR.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 8feba833_c46a_51b7_3da0_fcdfe54673b7["printObjectPropertyKey()"] 6976a9ee_9d8e_4f16_3016_495f39aff2fd["PrintHIR.ts"] 8feba833_c46a_51b7_3da0_fcdfe54673b7 -->|defined in| 6976a9ee_9d8e_4f16_3016_495f39aff2fd f3619b34_2818_79d3_d2a6_72b9bcfc9d1e["printInstructionValue()"] f3619b34_2818_79d3_d2a6_72b9bcfc9d1e -->|calls| 8feba833_c46a_51b7_3da0_fcdfe54673b7 cd2a20a9_1741_622b_6efc_d63bea24cb4c["printPattern()"] cd2a20a9_1741_622b_6efc_d63bea24cb4c -->|calls| 8feba833_c46a_51b7_3da0_fcdfe54673b7 bf7f1cf7_fc0e_6bac_827c_8d36d98126da["printPlace()"] 8feba833_c46a_51b7_3da0_fcdfe54673b7 -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da style 8feba833_c46a_51b7_3da0_fcdfe54673b7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/PrintHIR.ts lines 340–353
function printObjectPropertyKey(key: ObjectPropertyKey): string {
switch (key.kind) {
case 'identifier':
return key.name;
case 'string':
return `"${key.name}"`;
case 'computed': {
return `[${printPlace(key.name)}]`;
}
case 'number': {
return String(key.name);
}
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does printObjectPropertyKey() do?
printObjectPropertyKey() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/PrintHIR.ts.
Where is printObjectPropertyKey() defined?
printObjectPropertyKey() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/PrintHIR.ts at line 340.
What does printObjectPropertyKey() call?
printObjectPropertyKey() calls 1 function(s): printPlace.
What calls printObjectPropertyKey()?
printObjectPropertyKey() is called by 2 function(s): printInstructionValue, printPattern.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free