printFunctionWithOutlined() — react Function Reference
Architecture documentation for the printFunctionWithOutlined() function in PrintHIR.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD eea2957a_a99b_9cf2_58bf_d591ab804347["printFunctionWithOutlined()"] 6976a9ee_9d8e_4f16_3016_495f39aff2fd["PrintHIR.ts"] eea2957a_a99b_9cf2_58bf_d591ab804347 -->|defined in| 6976a9ee_9d8e_4f16_3016_495f39aff2fd 75108b98_1828_cb14_243d_e48c6613b748["printFunction()"] eea2957a_a99b_9cf2_58bf_d591ab804347 -->|calls| 75108b98_1828_cb14_243d_e48c6613b748 073c81a5_c389_d108_5b8f_4d6dc6eece83["push()"] eea2957a_a99b_9cf2_58bf_d591ab804347 -->|calls| 073c81a5_c389_d108_5b8f_4d6dc6eece83 3f9f0373_2e57_1356_bd68_e2eec897e2f5["printHIR()"] eea2957a_a99b_9cf2_58bf_d591ab804347 -->|calls| 3f9f0373_2e57_1356_bd68_e2eec897e2f5 style eea2957a_a99b_9cf2_58bf_d591ab804347 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/PrintHIR.ts lines 43–49
export function printFunctionWithOutlined(fn: HIRFunction): string {
const output = [printFunction(fn)];
for (const outlined of fn.env.getOutlinedFunctions()) {
output.push(`\nfunction ${outlined.fn.id}:\n${printHIR(outlined.fn.body)}`);
}
return output.join('\n');
}
Domain
Subdomains
Source
Frequently Asked Questions
What does printFunctionWithOutlined() do?
printFunctionWithOutlined() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/PrintHIR.ts.
Where is printFunctionWithOutlined() defined?
printFunctionWithOutlined() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/PrintHIR.ts at line 43.
What does printFunctionWithOutlined() call?
printFunctionWithOutlined() calls 3 function(s): printFunction, printHIR, push.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free