printReactiveFunctionWithOutlined() — react Function Reference
Architecture documentation for the printReactiveFunctionWithOutlined() function in PrintReactiveFunction.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 82b53eb9_7013_df20_4207_df0cdb4ba20c["printReactiveFunctionWithOutlined()"] d77f9ffb_2d12_7d1f_126f_8c05214f0059["PrintReactiveFunction.ts"] 82b53eb9_7013_df20_4207_df0cdb4ba20c -->|defined in| d77f9ffb_2d12_7d1f_126f_8c05214f0059 d3c448d2_883e_230f_2a35_5be912302abe["writeReactiveFunction()"] 82b53eb9_7013_df20_4207_df0cdb4ba20c -->|calls| d3c448d2_883e_230f_2a35_5be912302abe d0290dff_c442_0216_dbb6_27657f40b130["writeLine()"] 82b53eb9_7013_df20_4207_df0cdb4ba20c -->|calls| d0290dff_c442_0216_dbb6_27657f40b130 75108b98_1828_cb14_243d_e48c6613b748["printFunction()"] 82b53eb9_7013_df20_4207_df0cdb4ba20c -->|calls| 75108b98_1828_cb14_243d_e48c6613b748 afa33e13_3155_69d3_5b6a_8a49d72f5cf1["complete()"] 82b53eb9_7013_df20_4207_df0cdb4ba20c -->|calls| afa33e13_3155_69d3_5b6a_8a49d72f5cf1 style 82b53eb9_7013_df20_4207_df0cdb4ba20c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/PrintReactiveFunction.ts lines 29–38
export function printReactiveFunctionWithOutlined(
fn: ReactiveFunction,
): string {
const writer = new Writer();
writeReactiveFunction(fn, writer);
for (const outlined of fn.env.getOutlinedFunctions()) {
writer.writeLine('\nfunction ' + printFunction(outlined.fn));
}
return writer.complete();
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does printReactiveFunctionWithOutlined() do?
printReactiveFunctionWithOutlined() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/PrintReactiveFunction.ts.
Where is printReactiveFunctionWithOutlined() defined?
printReactiveFunctionWithOutlined() is defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/PrintReactiveFunction.ts at line 29.
What does printReactiveFunctionWithOutlined() call?
printReactiveFunctionWithOutlined() calls 4 function(s): complete, printFunction, writeLine, writeReactiveFunction.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free