printPlace() — react Function Reference
Architecture documentation for the printPlace() function in PrintHIR.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD bf7f1cf7_fc0e_6bac_827c_8d36d98126da["printPlace()"] 6976a9ee_9d8e_4f16_3016_495f39aff2fd["PrintHIR.ts"] bf7f1cf7_fc0e_6bac_827c_8d36d98126da -->|defined in| 6976a9ee_9d8e_4f16_3016_495f39aff2fd 505f2e0b_d43c_5972_8865_373d0dd08a6a["assertConsistentIdentifiers()"] 505f2e0b_d43c_5972_8865_373d0dd08a6a -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da a02e9d60_7c48_c520_e285_86687853f862["validateMutableRange()"] a02e9d60_7c48_c520_e285_86687853f862 -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da 75108b98_1828_cb14_243d_e48c6613b748["printFunction()"] 75108b98_1828_cb14_243d_e48c6613b748 -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da 1bdf9e01_ffb0_1422_a451_e62965a1969b["printInstruction()"] 1bdf9e01_ffb0_1422_a451_e62965a1969b -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da 8faf797b_f577_1d83_65a6_29b8dcb97348["printPhi()"] 8faf797b_f577_1d83_65a6_29b8dcb97348 -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da 809a0fbd_e458_a174_789b_dc2fd017231a["printTerminal()"] 809a0fbd_e458_a174_789b_dc2fd017231a -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da 8feba833_c46a_51b7_3da0_fcdfe54673b7["printObjectPropertyKey()"] 8feba833_c46a_51b7_3da0_fcdfe54673b7 -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da f3619b34_2818_79d3_d2a6_72b9bcfc9d1e["printInstructionValue()"] f3619b34_2818_79d3_d2a6_72b9bcfc9d1e -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da 4c8e9f15_76da_b25c_3fcd_2158b484c064["printLValue()"] 4c8e9f15_76da_b25c_3fcd_2158b484c064 -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da cd2a20a9_1741_622b_6efc_d63bea24cb4c["printPattern()"] cd2a20a9_1741_622b_6efc_d63bea24cb4c -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da 7cb90dd3_dbe0_0087_670d_277ddeadabfc["applyEffect()"] 7cb90dd3_dbe0_0087_670d_277ddeadabfc -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da bcbdcfbc_a2a4_dd2d_09f6_b6643e95eb6e["values()"] bcbdcfbc_a2a4_dd2d_09f6_b6643e95eb6e -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da 8f06f55e_0851_0d44_0a89_d6dee31fdbb5["kind()"] 8f06f55e_0851_0d44_0a89_d6dee31fdbb5 -->|calls| bf7f1cf7_fc0e_6bac_827c_8d36d98126da style bf7f1cf7_fc0e_6bac_827c_8d36d98126da fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/PrintHIR.ts lines 834–844
export function printPlace(place: Place): string {
const items = [
place.effect,
' ',
printIdentifier(place.identifier),
printMutableRange(place.identifier),
printType(place.identifier.type),
place.reactive ? '{reactive}' : null,
];
return items.filter(x => x != null).join('');
}
Domain
Subdomains
Called By
- applyEffect()
- assertConsistentIdentifiers()
- codegenPlace()
- getIdAt()
- kind()
- print()
- printFunction()
- printInstruction()
- printInstructionValue()
- printLValue()
- printObjectPropertyKey()
- printPattern()
- printPhi()
- printTerminal()
- pruneMaybeThrows()
- rewriteInstructionKindsBasedOnReassignment()
- validateMutableRange()
- values()
- visit()
- visitOperand()
- writeReactiveFunction()
- writeReactiveInstruction()
- writeTerminal()
Source
Frequently Asked Questions
What does printPlace() do?
printPlace() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/PrintHIR.ts.
Where is printPlace() defined?
printPlace() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/PrintHIR.ts at line 834.
What does printPlace() call?
printPlace() calls 3 function(s): printIdentifier, printMutableRange, printType.
What calls printPlace()?
printPlace() is called by 23 function(s): applyEffect, assertConsistentIdentifiers, codegenPlace, getIdAt, kind, print, printFunction, printInstruction, and 15 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free